Skip to content

Commit

Permalink
fix: automatic building of latest docker image (#2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs47 authored Dec 6, 2023
1 parent 03bade6 commit 69e1429
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image-and-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-latest-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 69e1429

Please sign in to comment.