Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Helm unittests
run: make test

docker-build:
docker-build-and-publish:
runs-on: digital-asset-wallet-gateway
permissions:
contents: read
Expand All @@ -51,3 +51,26 @@ jobs:
build-args: version=${{ steps.version.outputs.version }}
push: true
tags: ghcr.io/digital-asset/${{ env.TARGET }}/docker/wallet-gateway:v${{ steps.version.outputs.version }}

helm-publish:
runs-on: digital-asset-wallet-gateway
permissions:
contents: read
packages: write
needs:
- check
- docker-build-and-publish
steps:
- uses: actions/checkout@v5
- name: Get Version
id: version
run: echo "version=$(<VERSION)" | tee -a "${GITHUB_OUTPUT}"
- name: Helm package
run: make package
- name: Archive helm package
uses: actions/upload-artifact@v4
with:
name: helm package
path: target/wallet-gateway-${{ steps.version.outputs.version }}.tgz
- name: Helm push
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