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