diff options
author | Shlee <github@shl.ee> | 2022-03-29 08:08:20 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 23:38:20 +0200 |
commit | 22eeaf2645e44ea800a6e4c4acb7bf9d72211344 (patch) | |
tree | 4e32e191e2c65bde6f12dfbbd87b42af0c4534b4 /.github/workflows | |
parent | 30658924a80434e6a2bceb61267b911ea8d37898 (diff) |
Split build image actions (#17793)
* Update build-image.yml * Update build-image.yml * Update build-image.yml * Update build-image.yml
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 |