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