about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-30 15:02:16 +0200
committerGitHub <noreply@github.com>2022-03-30 15:02:16 +0200
commit60f9973f452100475874cd9bd0a8b6ee908bf8e0 (patch)
treed1bb823de4bff3ee9676835dc3e7614ed66deb65 /.github/workflows
parenteaea849035ea407afb2d5db411dbddc1ccca6f44 (diff)
parent51a297e1287a9b2dd3b2d2b19433820e996779db (diff)
Merge pull request #1725 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-image.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml
index 880fdfac9..b3a8d5105 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
@@ -36,7 +39,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=ghcr.io/${{ github.repository_owner }}/mastodon:latest