Skip to content

Commit

Permalink
Reverted matrix-style docker builds
Browse files Browse the repository at this point in the history
Was causing arm image to be written over amd64 image
  • Loading branch information
ssddanbrown committed Jul 4, 2022
1 parent d52cac3 commit 54322cd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,14 @@ jobs:
contents: read
packages: write

strategy:
matrix:
platform: [linux/amd64, linux/arm64]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
if: matrix.platform != 'linux/amd64'
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
if: matrix.platform != 'linux/amd64'
uses: docker/setup-buildx-action@v1

# https://github.com/docker/login-action
Expand All @@ -66,7 +60,7 @@ jobs:
with:
context: .
file: ./docker/Dockerfile
platforms: ${{ matrix.platform }}
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 54322cd

Please sign in to comment.