From 8330d9d894e181e0efae886f558ded25bb807724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20Axn=C3=A9r?= <25233464+colin-axner@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:15:13 +0200 Subject: [PATCH] chore: update workflow files to include wasm args --- .github/workflows/docker.yml | 6 ++++++ .github/workflows/release.yml | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f6d30419b75..d11fcdc434e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -33,6 +33,9 @@ jobs: context: . tags: ${{ steps.meta.outputs.tags }} build-args: | + version="$(scripts/get-libwasm-version.py --get-version)" + checksum="$(scripts/get-libwasm-version.py --get-checksum)" + IBC_GO_VERSION=main - name: Test simd is runnable @@ -52,4 +55,7 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} build-args: | + version="$(scripts/get-libwasm-version.py --get-version)" + checksum="$(scripts/get-libwasm-version.py --get-checksum)" + IBC_GO_VERSION=main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19ccf6083d6..d71ad5688d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Install dependencies + run: make python-install-deps - name: Log in to the Container registry uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 @@ -59,3 +61,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} build-args: | IBC_GO_VERSION=${{ github.ref_name }} + version="$(scripts/get-libwasm-version.py --get-version)" + checksum="$(scripts/get-libwasm-version.py --get-checksum)" +