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 8ae996c commit 32c0b16Copy full SHA for 32c0b16
.github/workflows/release.yml
@@ -28,3 +28,22 @@ jobs:
28
uses: helm/chart-releaser-action@v1.2.0
29
env:
30
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
31
+
32
+ - name: Login to GitHub Container Registry
33
+ uses: docker/login-action@v3
34
+ with:
35
+ registry: ghcr.io
36
+ username: ${{ github.actor }}
37
+ password: ${{ secrets.GITHUB_TOKEN }}
38
39
+ - name: Push charts to GHCR
40
+ run: |
41
+ shopt -s nullglob
42
+ for pkg in .cr-release-packages/*; do
43
+ if [ -z "${pkg:-}" ]; then
44
+ break
45
+ fi
46
+ lowercase=$(echo "${GITHUB_REPOSITORY}" | tr '[:upper:]' '[:lower:]')
47
+ echo "Pushing package - ${pkg} to ghcr.io repository - ${lowercase}"
48
+ helm push "${pkg}" "oci://ghcr.io/${lowercase}"
49
+ done
0 commit comments