Skip to content

Commit b45186f

Browse files
authored
feat: update workflow file to build and push multi-architecture Docker images (#1376)
Signed-off-by: Sahil Kamble <[email protected]>
1 parent 9deb93a commit b45186f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/continuous-delivery.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ jobs:
4444
id: get_tag
4545
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
4646

47+
- name: Set up QEMU
48+
uses: docker/setup-qemu-action@v3
49+
50+
- name: Set up Docker Buildx
51+
uses: docker/setup-buildx-action@v3
52+
4753
- name: Log in to GitHub Container Registry
4854
uses: docker/login-action@v3
4955
with:
@@ -57,6 +63,7 @@ jobs:
5763
context: .
5864
file: Dockerfiles/Dockerfile.${{ matrix.service }}
5965
push: true
66+
platforms: linux/amd64,linux/arm64
6067
tags: |
6168
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.service }}:${{ env.TAG }}
62-
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.service }}:latest
69+
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.service }}:latest

0 commit comments

Comments
 (0)