File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 2727 with :
2828 registry : harbor.enclaive.cloud
2929 username : ${{ vars.HARBOR_USERNAME }}
30- password : ${{ secrets.HARBOR_SECRET }}
30+ password : ${{ secrets.HARBOR_PASSWORD }}
31+
32+ - name : Login to migration harbor
33+ uses : docker/login-action@v3
34+ with :
35+ registry : harbor.migration.enclaive.cloud
36+ username : ${{ vars.HARBOR_USERNAME_MIG }}
37+ password : ${{ secrets.HARBOR_PASSWORD_MIG }}
3138
3239 - name : Package, upload, cosign
3340 env :
3744 helm lint .
3845 helm package .
3946 helm inspect chart vhsm-*.tgz
47+
4048 helm push vhsm-*.tgz oci://harbor.enclaive.cloud/vhsm 2> metadata.txt
41-
49+ helm push vhsm-*.tgz oci://harbor.migration.enclaive.cloud/vhsm 2> metadata.txt
50+
51+ cat metadata.txt
52+
4253 DIGEST=$(grep ^Digest: metadata.txt | cut -d" " -f2)
4354 cosign sign --yes --key env://COSIGN_PRIVATE_KEY "harbor.enclaive.cloud/vhsm/vhsm@${DIGEST}"
You can’t perform that action at this time.
0 commit comments