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"
donecr.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: truect.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.
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 |
|
Do we have the helm chart in a public repo? |
|
Would be great to see it merged we have a workaround for now but its not ideal |
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:
helm repo add sequin https://sequinstream.github.io/helm-chart-sequin helm search repo sequin helm install test sequin/sequinThis only adds publishing - the chart itself doesn't change.