Skip to content

Commit acbd192

Browse files
committed
feat: add multi-architecture Docker build support
- Add linux/arm64 platform support - Enable buildx for multi-platform builds - Support for M1/M2 Macs
1 parent 46688d2 commit acbd192

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
1919

20+
- name: Set up QEMU
21+
uses: docker/setup-qemu-action@v3
22+
2023
- name: Set up Docker Buildx
2124
uses: docker/setup-buildx-action@v3
2225

@@ -32,6 +35,7 @@ jobs:
3235
uses: docker/build-push-action@v5
3336
with:
3437
context: .
38+
platforms: linux/amd64,linux/arm64
3539
push: ${{ github.event_name != 'pull_request' }}
3640
tags: |
3741
ghcr.io/${{ github.repository }}:latest

0 commit comments

Comments
 (0)