Skip to content

Commit

Permalink
Use QEMU action for multi-arch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewn617 committed Mar 21, 2024
1 parent c690d4c commit b5c0cc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Checkout (GitHub)
uses: actions/checkout@v3

- name: Set up QEMU for multi-architecture builds
uses: docker/setup-qemu-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand All @@ -46,6 +49,7 @@ jobs:
uses: devcontainers/[email protected]
env:
RUBY_VERSION: ${{ matrix.RUBY_VERSION }}
BUILDX_NO_DEFAULT_ATTESTATIONS: true
with:
imageName: ghcr.io/rails/devcontainer/images/ruby
cacheFrom: ghcr.io/rails/devcontainer/images/ruby
Expand Down

0 comments on commit b5c0cc1

Please sign in to comment.