File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1919 git config user.name "$GITHUB_ACTOR"
2020 git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
2121
22+ - name : Install Helm
23+ uses : jdx/mise-action@v3
24+ with :
25+ tool_versions : |
26+ helm: latest
27+
2228 - name : Run chart-releaser
2329 uses : helm/chart-releaser-action@v1.7.0
2430 env :
2531 CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
2632 CR_SKIP_EXISTING : true
33+
34+ - name : Login to GHCR
35+ uses : docker/login-action@v3
36+ with :
37+ registry : ghcr.io
38+ username : ${{ github.actor }}
39+ password : ${{ secrets.GITHUB_TOKEN }}
40+
41+ - name : Push charts to GHCR
42+ run : |
43+ for pkg in .cr-release-packages/*.tgz; do
44+ if [ -f "$pkg" ]; then
45+ helm push "$pkg" oci://ghcr.io/nutanix-cloud-native/chart
46+ fi
47+ done
You can’t perform that action at this time.
0 commit comments