Skip to content

Commit 490a986

Browse files
feat: Enable multi-arch Docker image builds (#137)
The Docker images published to GHCR only supported the linux/amd64 architecture, preventing native execution on arm64 systems like Apple Silicon Macs. This updates the GitHub Actions workflow to build and push images for both linux/amd64 and linux/arm64 platforms. Closes #136
1 parent 50d5418 commit 490a986

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
with:
3232
context: ./frontend
3333
push: true
34+
platforms: linux/amd64,linux/arm64
3435
tags: |
3536
ghcr.io/ccextractor/frontend:latest
3637
ghcr.io/ccextractor/frontend:${{ github.sha }}
@@ -66,6 +67,7 @@ jobs:
6667
with:
6768
context: ./backend
6869
push: true
70+
platforms: linux/amd64,linux/arm64
6971
tags: |
7072
ghcr.io/ccextractor/backend:latest
7173
ghcr.io/ccextractor/backend:${{ github.sha }}

0 commit comments

Comments
 (0)