Skip to content

Commit

Permalink
feat(ci): build multi-platform images
Browse files Browse the repository at this point in the history
better support for engineers across Windows, Mac (incl Apple Silicon), and Linux
  • Loading branch information
thekaveman committed Jul 29, 2024
1 parent c57883c commit 6008fc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -43,6 +46,7 @@ jobs:
cache-to: type=gha,scope=compilerla,mode=max
context: .
file: .devcontainer/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ matrix.python-version == '3.11' && format('ghcr.io/{0}:main', github.repository) || format('ghcr.io/{0}:main_{1}', github.repository, matrix.python-version) }}
Expand Down

0 comments on commit 6008fc1

Please sign in to comment.