From 4027c87a02c99cdecf9fca4be0cccc8d255a04b7 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Tue, 15 Feb 2022 15:19:42 -0700 Subject: [PATCH] Fix Docker arch mismatch --- .github/workflows/release.docker.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.docker.yml b/.github/workflows/release.docker.yml index 3825669..89d3f68 100644 --- a/.github/workflows/release.docker.yml +++ b/.github/workflows/release.docker.yml @@ -14,14 +14,8 @@ name: Release (Docker) jobs: docker: runs-on: ubuntu-latest - strategy: - matrix: - include: - - platform: linux/amd64 - - platform: linux/arm64 - - platform: linux/arm/v7 - env: + PLATFORMS: "${{ github.event_name == 'release' && 'linux/amd64,linux/arm64,linux/arm/v7' || 'linux/amd64,linux/arm64' }}" VERSION: "${{ github.event_name == 'release' && github.event.release.name || github.sha }}" steps: @@ -50,7 +44,7 @@ jobs: with: context: . push: true - platforms: ${{ matrix.platform }} + platforms: ${{ env.PLATFORMS }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: |