From 3b9fae62798bf03014c15c15eae84cf91a3d1cad Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 2 Mar 2024 11:29:20 +1100 Subject: [PATCH] docker: push both multiple image tags (#6614) * docker: push both multiple image tags * Remove matrix strategy --- .github/workflows/docker.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 1a4982e9b4..ca4593debd 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -58,15 +58,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} python_version: "3.11" - strategy: - matrix: - platform: ["linux/amd64", "linux/arm64"] - include: - - platform: linux/amd64 - os: ubuntu-latest - - platform: linux/arm64 - os: ubuntu-latest # in the future we can try to use alternative runners here - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest # in the future we can try to use alternative runners here steps: - name: Check out repo @@ -151,7 +143,7 @@ jobs: uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # pin@v5.0.0 with: context: . - platforms: ${{ matrix.platform }} + platforms: linux/amd64,linux/arm64 push: true sbom: true provenance: false