From 77997524f4f42fa70c0ee728b0db35d8f7e47e86 Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Mon, 1 Jan 2024 18:33:09 -0300 Subject: [PATCH] Build arm64 Docker images --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3eb442b5..98ab6031 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -52,7 +52,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v5 with: - platforms: ${{ inputs.arm64 && 'linux/amd64,linux/arm64' || '' }} + platforms: ${{ (github.event_name == 'push' || inputs.arm64) && 'linux/amd64,linux/arm64' || '' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | # Julia's Pkg expects a Git repository