Skip to content

Commit 6008fc1

Browse files
committed
feat(ci): build multi-platform images
better support for engineers across Windows, Mac (incl Apple Silicon), and Linux
1 parent c57883c commit 6008fc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish-devcontainer.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

31+
- name: Set up QEMU
32+
uses: docker/setup-qemu-action@v3
33+
3134
- name: Set up Docker Buildx
3235
id: buildx
3336
uses: docker/setup-buildx-action@v3
@@ -43,6 +46,7 @@ jobs:
4346
cache-to: type=gha,scope=compilerla,mode=max
4447
context: .
4548
file: .devcontainer/Dockerfile
49+
platforms: linux/amd64,linux/arm64
4650
push: true
4751
tags: |
4852
${{ matrix.python-version == '3.11' && format('ghcr.io/{0}:main', github.repository) || format('ghcr.io/{0}:main_{1}', github.repository, matrix.python-version) }}

0 commit comments

Comments
 (0)