File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 2929 - name : Helm unittests
3030 run : make test
3131
32- docker-build :
32+ docker-build-and-publish :
3333 runs-on : digital-asset-wallet-gateway
3434 permissions :
3535 contents : read
5151 build-args : version=${{ steps.version.outputs.version }}
5252 push : true
5353 tags : ghcr.io/digital-asset/${{ env.TARGET }}/docker/wallet-gateway:v${{ steps.version.outputs.version }}
54+
55+ helm-publish :
56+ runs-on : digital-asset-wallet-gateway
57+ permissions :
58+ contents : read
59+ packages : write
60+ needs :
61+ - check
62+ - docker-build-and-publish
63+ steps :
64+ - uses : actions/checkout@v5
65+ - name : Get Version
66+ id : version
67+ run : echo "version=$(<VERSION)" | tee -a "${GITHUB_OUTPUT}"
68+ - name : Helm package
69+ run : make package
70+ - name : Archive helm package
71+ uses : actions/upload-artifact@v4
72+ with :
73+ name : helm package
74+ path : target/wallet-gateway-${{ steps.version.outputs.version }}.tgz
75+ - name : Helm push
76+ run : helm push --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} target/wallet-gateway-${{ steps.version.outputs.version }}.tgz oci://ghcr.io/digital-asset/${{ env.TARGET }}/helm/wallet-gateway
You can’t perform that action at this time.
0 commit comments