diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-image.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 75c7b54a6..0fa28aca1 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -13,6 +13,9 @@ on: jobs: build-image: runs-on: ubuntu-latest + strategy: + matrix: + os: [linux/arm64, linux/amd64] steps: - uses: actions/checkout@v2 - uses: docker/setup-qemu-action@v1 @@ -35,7 +38,7 @@ jobs: - uses: docker/build-push-action@v2 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.os }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} cache-from: type=registry,ref=tootsuite/mastodon:latest |