File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 workflow_dispatch :
1414
1515env :
16- REGISTRY : ghcr .io
17- REGISTRY_PATH : ghcr. io/wunderio/argo- charts
16+ REGISTRY : registry.wdr .io
17+ REGISTRY_PATH : registry.wdr. io/charts
1818
1919jobs :
2020 publish :
2121 name : Package & Push — ${{ matrix.chart }}
2222 runs-on : ubuntu-latest
23- permissions :
24- contents : read
25- packages : write
2623 strategy :
2724 fail-fast : false
2825 matrix :
@@ -54,14 +51,14 @@ jobs:
5451 PKG=$(ls /tmp/charts/${{ matrix.chart }}-*.tgz)
5552 echo "package=${PKG}" >> "$GITHUB_OUTPUT"
5653
57- - name : Log in to GHCR
54+ - name : Log in to Harbor
5855 run : |
59- echo "${{ secrets.GITHUB_TOKEN }}" | \
56+ echo "${{ secrets.REGISTRY_PASSWORD }}" | \
6057 helm registry login "${{ env.REGISTRY }}" \
61- --username "${{ github.actor }}" \
58+ --username "${{ secrets.REGISTRY_USERNAME }}" \
6259 --password-stdin
6360
64- - name : Push chart to GHCR
61+ - name : Push chart to Harbor
6562 run : |
6663 helm push "${{ steps.package.outputs.package }}" \
6764 "oci://${{ env.REGISTRY_PATH }}"
You can’t perform that action at this time.
0 commit comments