From 571b8069e2aa613a2f5bc4811c282095b8524a73 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Sat, 24 Aug 2024 22:17:39 +0200 Subject: [PATCH] Add QEMU setup for multi-platform support in Docker build process. - Added step to set up QEMU for multi-platform builds - Updated Docker build configuration to include linux/amd64 and linux/arm64 platforms --- .github/workflows/image-make-and-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/image-make-and-publish.yml b/.github/workflows/image-make-and-publish.yml index 942d9ee..76fbec6 100644 --- a/.github/workflows/image-make-and-publish.yml +++ b/.github/workflows/image-make-and-publish.yml @@ -29,6 +29,9 @@ jobs: with: python-version: '3.12' + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Setup Docker buildx uses: docker/setup-buildx-action@v3 @@ -75,6 +78,7 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64 - name: Trigger release job if: ${{ success() && github.ref_name == 'main' && github.event_name != 'pull_request' && !github.event.repository.private }}