Skip to content

Commit 769f578

Browse files
committed
Update GitHub Actions workflow to build multi-architecture Docker images
1 parent 361f8ee commit 769f578

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- name: Checkout code
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

@@ -41,6 +44,7 @@ jobs:
4144
with:
4245
context: .
4346
push: true
47+
platforms: linux/amd64,linux/arm64
4448
tags: ${{ steps.meta.outputs.tags }}
4549
labels: ${{ steps.meta.outputs.labels }}
4650
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/duckai:buildcache

0 commit comments

Comments
 (0)