We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d154767 commit f5f3c30Copy full SHA for f5f3c30
.github/workflows/release.yml
@@ -8,6 +8,9 @@ on:
8
jobs:
9
release:
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ packages: write
14
steps:
15
- name: Checkout
16
uses: actions/checkout@v4
@@ -26,3 +29,14 @@ jobs:
26
29
uses: helm/[email protected]
27
30
env:
28
31
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
32
+
33
+ ## https://github.com/helm/chart-releaser-action/issues/107#issuecomment-2133797963
34
+ - name: Push Charts to GHCR
35
+ run: |
36
+ for pkg in .cr-release-packages/*; do
37
+ if [ -z "${pkg:-}" ]; then
38
+ break
39
+ fi
40
41
+ helm push "${pkg}" oci://ghcr.io/${{ github.repository }}
42
+ done
0 commit comments