diff --git a/.github/workflows/publish-aztec-packages.yml b/.github/workflows/publish-aztec-packages.yml index a8ca3856791..566f7bf4c46 100644 --- a/.github/workflows/publish-aztec-packages.yml +++ b/.github/workflows/publish-aztec-packages.yml @@ -125,7 +125,11 @@ jobs: env: VERSION: ${{ needs.configure.outputs.version }} run: | - ./bootstrap.sh image-aztec --version $VERSION + if [ -n "$VERSION" ]; then + ./bootstrap.sh image-aztec --version $VERSION + else + ./bootstrap.sh image-aztec + fi docker tag aztecprotocol/aztec:${{ env.GIT_COMMIT }} aztecprotocol/aztec:${{ env.GIT_COMMIT }}-x86_64 docker push aztecprotocol/aztec:${{ env.GIT_COMMIT }}-x86_64 @@ -146,7 +150,11 @@ jobs: VERSION: ${{ needs.configure.outputs.version }} run: | sudo shutdown -P 80 - ./bootstrap.sh image-aztec --check-arch --version $VERSION + if [ -n "$VERSION" ]; then + ./bootstrap.sh image-aztec --check-arch --version $VERSION + else + ./bootstrap.sh image-aztec --check-arch + fi docker tag aztecprotocol/aztec:${{ env.GIT_COMMIT }} aztecprotocol/aztec:${{ env.GIT_COMMIT }}-arm64 docker push aztecprotocol/aztec:${{ env.GIT_COMMIT }}-arm64