Skip to content

Commit 5229398

Browse files
committed
👷 build both linux/amd64 and linux/arm64 Docker images
1 parent 0bcaea7 commit 5229398

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
steps:
2020
- name: Check out the repo
2121
uses: actions/checkout@v4
22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v3
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
2226
- name: Docker meta
2327
id: meta
2428
uses: docker/metadata-action@v5
@@ -46,6 +50,7 @@ jobs:
4650
uses: docker/build-push-action@v5
4751
with:
4852
context: .
53+
platforms: linux/amd64,linux/arm64
4954
push: true
5055
tags: ${{ steps.meta.outputs.tags }}
5156
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)