Skip to content

Commit c37f1b1

Browse files
committed
fix(docker): add multi-platform builds (amd64 + arm64)
1 parent e46287c commit c37f1b1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ docs/
1515
.DS_Store
1616
coverage/
1717
.turbo/
18+
demo/
19+
.github/

.github/workflows/docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@ jobs:
2020
username: ${{ github.actor }}
2121
password: ${{ secrets.GITHUB_TOKEN }}
2222

23+
- uses: docker/setup-qemu-action@v3
24+
2325
- uses: docker/setup-buildx-action@v3
2426

2527
- name: Build and push server
2628
uses: docker/build-push-action@v6
2729
with:
2830
context: .
2931
file: server/Dockerfile
32+
platforms: linux/amd64,linux/arm64
3033
push: true
3134
tags: |
3235
ghcr.io/uid4oe/agent-orchestration-patterns-server:latest
@@ -39,6 +42,7 @@ jobs:
3942
with:
4043
context: .
4144
file: frontend/Dockerfile
45+
platforms: linux/amd64,linux/arm64
4246
push: true
4347
tags: |
4448
ghcr.io/uid4oe/agent-orchestration-patterns-frontend:latest

0 commit comments

Comments
 (0)