Skip to content

Commit c247fac

Browse files
committed
Enable multi-platform Docker builds in backend CI/CD pipeline
1 parent 0fab420 commit c247fac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/backend-ci-cd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ jobs:
7979
username: ${{ github.actor }}
8080
password: ${{ secrets.GITHUB_TOKEN }}
8181

82+
- name: Set up QEMU
83+
uses: docker/setup-qemu-action@v3
84+
85+
- name: Set up Docker Buildx
86+
uses: docker/setup-buildx-action@v3
87+
8288
- name: Extract metadata for Docker
8389
id: meta
8490
uses: docker/metadata-action@v5
@@ -95,5 +101,6 @@ jobs:
95101
context: ./backend
96102
file: ./backend/Dockerfile
97103
push: true
104+
platforms: linux/amd64,linux/arm64
98105
tags: ${{ steps.meta.outputs.tags }}
99106
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)