From b5c0cc1a3cd3a6504dc19892c58af9371b26d89e Mon Sep 17 00:00:00 2001 From: Andrew Novoselac Date: Thu, 21 Mar 2024 11:57:20 -0400 Subject: [PATCH] Use QEMU action for multi-arch builds --- .github/workflows/build-and-publish-images.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-and-publish-images.yaml b/.github/workflows/build-and-publish-images.yaml index 515a203..d59a26e 100644 --- a/.github/workflows/build-and-publish-images.yaml +++ b/.github/workflows/build-and-publish-images.yaml @@ -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: @@ -46,6 +49,7 @@ jobs: uses: devcontainers/ci@v0.3 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