twuni / docker-registry.helm

Helm chart for a Docker registry. Successor to stable/docker-registry chart.
Apache License 2.0
309 stars 146 forks source link

chore: add helm release action #121

Closed joshsizer closed 5 months ago

joshsizer commented 6 months ago

The chart-releaser-action requires that helm charts be placed into chart/ to work. I've tried configuring it appropriately for this repo, but couldn't get it to work.

Instead, I'm using that action to install just the chart-releaser binary. Then, I'm using the cr binary to package, release, and update the index in the gh-pages branch.

Any commit on the main branch will cause a new release as long as the chart version has changed.

joshsizer commented 5 months ago

@canterberry The release action needs a PAT that can write to the repo and create releases, stored in the actions secret called $CR_TOKEN. Would you be able to generate that and place it into the repository?

canterberry commented 5 months ago

@canterberry The release action needs a PAT that can write to the repo and create releases, stored in the actions secret called $CR_TOKEN. Would you be able to generate that and place it into the repository?

I've generated a PAT and created the CR_TOKEN secret with that PAT as its value. This token will expire on March 28, 2025. As that date approaches, remind me and I'll replace it with a fresh one (or between now and then, we'll make sure at least one other person has read/write privileges for secrets on this repo).