From cdea78fec4282bee3a902fe97fd671aec616eead Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Sun, 8 Sep 2024 23:11:02 -0400 Subject: [PATCH] Fix #345 - Build ARM64 image. (#346) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix #245 - Build ARM64 image. * Attempt to work around: https://github.com/docker/buildx/issues/59 * Only build arm64 on release. --------- Co-authored-by: Laurent Quérel --- .github/workflows/publish-docker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 1a186015..04e0743e 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -20,6 +20,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Extract metadata (tags, labels) for Docker @@ -48,6 +50,7 @@ jobs: if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') with: push: true + platforms: linux/amd64,linux/arm64 provenance: mode=max sbom: true tags: ${{ steps.meta.outputs.tags }}