Skip to content

Commit bf0bb17

Browse files
committed
use multiple workers for multi-platform builds, not qemu
1 parent b21248a commit bf0bb17

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ jobs:
1212
publish:
1313
name: Publish Docker Image to ghcr.io
1414
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
platform: [linux/amd64, linux/arm64]
1519
permissions:
1620
packages: write
21+
1722
steps:
1823
- name: Check out the repo
1924
uses: actions/checkout@v4
@@ -58,6 +63,6 @@ jobs:
5863
file: ./Dockerfile
5964
push: true
6065
tags: ${{ env.DOCKER_IMAGE_TAGS }}
61-
platforms: linux/amd64,linux/arm64
66+
platforms: ${{ matrix.platform }}
6267
cache-from: type=gha
6368
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)