From 435536d13aa0f7ffc64add210baec243d3544882 Mon Sep 17 00:00:00 2001 From: siberianlove <74700646+siberianlove@users.noreply.github.com> Date: Sun, 31 Mar 2024 12:54:27 +0000 Subject: [PATCH] Enable multiplatform build --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 638da187..075df323 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,9 @@ jobs: # set latest tag for default branch type=raw,value=latest,enable={{is_default_branch}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3.0.0 @@ -72,6 +75,7 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}