Skip to content

Commit 6114ec2

Browse files
author
William Yang
committed
feat: add multi-platform build support (amd64, arm64)
1 parent d545ac5 commit 6114ec2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
2424

25+
- name: Set up QEMU
26+
uses: docker/setup-qemu-action@v3
27+
2528
- name: Set up Docker Buildx
2629
uses: docker/setup-buildx-action@v3
2730

@@ -50,6 +53,7 @@ jobs:
5053
uses: docker/build-push-action@v5
5154
with:
5255
context: .
56+
platforms: linux/amd64,linux/arm64
5357
push: ${{ github.event_name != 'pull_request' }}
5458
tags: ${{ steps.meta.outputs.tags }}
5559
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)