From 69e14297af97c0044967dfa0f9b342b8c9cd09be Mon Sep 17 00:00:00 2001 From: jcs47 <11947034+jcs47@users.noreply.github.com> Date: Wed, 6 Dec 2023 18:52:41 +0000 Subject: [PATCH] fix: automatic building of latest docker image (#2049) --- .github/workflows/build-docker-image-and-binaries.yaml | 2 +- .github/workflows/build-latest-docker-image.yaml | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-docker-image-and-binaries.yaml b/.github/workflows/build-docker-image-and-binaries.yaml index cfe4a46b1..cf165af07 100644 --- a/.github/workflows/build-docker-image-and-binaries.yaml +++ b/.github/workflows/build-docker-image-and-binaries.yaml @@ -71,7 +71,7 @@ jobs: ARCH: ${{ matrix.arch }} OS_TYPE: ${{ matrix.os }} SEMVER: ${{ github.event.inputs.tag }} - WASM: ${{ github.event.inputs.WASM }} + WASM: ${{ github.event.inputs.wasm }} CGO_ENABLED: 0 run: | if [ "${{ github.event.inputs.cgo }}" == "true" ]; then diff --git a/.github/workflows/build-latest-docker-image.yaml b/.github/workflows/build-latest-docker-image.yaml index 6f48b97ce..a8e0a5d0f 100644 --- a/.github/workflows/build-latest-docker-image.yaml +++ b/.github/workflows/build-latest-docker-image.yaml @@ -50,10 +50,9 @@ jobs: uses: aws-actions/amazon-ecr-login@v2 - name: Build docker image (normal) - env: - WASM: ${{ github.event.inputs.wasm }} - CGO_ENABLED: 0 run: | + export WASM="${{ github.event.inputs.wasm }}" + export CGO_ENABLED=0 if [ "${{ github.event.inputs.cgo }}" == "true" ]; then export CGO_ENABLED=1 fi @@ -70,10 +69,9 @@ jobs: - name: Build docker image (debug) if: github.event.inputs.buildDebug != 'false' - env: - WASM: ${{ github.event.inputs.wasm }} - CGO_ENABLED: 0 run: | + export WASM="${{ github.event.inputs.wasm }}" + export CGO_ENABLED=0 if [ "${{ github.event.inputs.cgo }}" == "true" ]; then export CGO_ENABLED=1 fi