-
Notifications
You must be signed in to change notification settings - Fork 8
feat: add public Helm repository via GitHub Pages #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: add public Helm repository via GitHub Pages #3
Conversation
@ammarun11 could you also add publish Helm chart as an OCI package please. Maybe with something like that: - name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
charts_dir: charts
config: cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: "true"
- name: Login to GHCR
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push charts to GHCR
run: |
shopt -s nullglob
for pkg in .cr-release-packages/*.tgz; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/helm-charts"
done cr.yaml file: sign: false
# Enable automatic generation of release notes using GitHubs release notes generator.
# see: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
generate-release-notes: true ct.yaml file: # See https://github.com/helm/chart-testing#configuration
remote: origin
target-branch: main
chart-dirs:
- .
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
helm-extra-args: --timeout 600s
validate-maintainers: false |
Thanks guys! We'll review this soon |
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious if this is necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the pages: write and id-token: write permissions are necessary for GitHub Pages deployment
feat: add oci package release
tested c301cbf |
Curious on an update here -- we've got a workaround to manage these resources via |
Add Public Helm Repository
What this does
Makes the Sequin Helm chart easy to install for everyone.
Before this PR
After this PR
Users can install Sequin with 2 simple commands:
Files changed
.github/workflows/release.yml
- Auto-publishes the chartHow it works
What maintainers need to do
Benefits
Test it works
After merge, users can run:
This only adds publishing - the chart itself doesn't change.