Skip to content

bump version to 0.9.1 #80

bump version to 0.9.1

bump version to 0.9.1 #80

Workflow file for this run

name: ci
on:
- push
env:
TARGET: ${{ github.ref == 'refs/heads/main' && 'wallet-gateway' || 'wallet-gateway-unstable' }}
defaults:
run:
shell: nix-shell --run "exec bash -euo pipefail {0}"
jobs:
check:
runs-on: digital-asset-wallet-gateway
permissions:
contents: read
issues: read
checks: write
steps:
- uses: actions/checkout@v5
- name: Check schema
run: |
make generate
out="$(git status --porcelain)"
if [ ! -z "${out}" ]; then
echo "Helm schema needs to be re-generated, please run 'make generate'"
echo "${out}"
exit 1
fi
echo "No changes"
- name: Helm unittests
run: make test
docker-build-and-publish:
runs-on: ubuntu-24.04
defaults:
run:
shell: bash
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v5
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get Version
id: version
run: echo "version=$(<VERSION)" | tee -a "${GITHUB_OUTPUT}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker Build and Publish
uses: docker/build-push-action@v6
with:
build-args: version=${{ steps.version.outputs.version }}
push: true
platforms: linux/amd64,linux/arm64
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