Skip to content

Commit 011253e

Browse files
author
Jan van der Pas
committed
Setup multi-platform Docker images to support both x86 and arm architectures
1 parent b42805a commit 011253e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
steps:
4848
- name: Checkout Elementary
4949
uses: actions/checkout@v3
50+
51+
- name: Set up QEMU for multi-platform support
52+
uses: docker/setup-qemu-action@v3
53+
54+
- name: Set up Docker Buildx for multi-platform support
55+
uses: docker/setup-buildx-action@v3
5056

5157
- name: Log in to the container registry
5258
uses: docker/login-action@v2
@@ -66,6 +72,7 @@ jobs:
6672
with:
6773
context: .
6874
push: true
75+
platforms: linux/amd64,linux/arm64
6976
tags: ${{ steps.meta.outputs.tags }}
7077
labels: ${{ steps.meta.outputs.labels }}
7178

0 commit comments

Comments
 (0)