From c08536f33ba0c3c4aa0175ce8c70f8b482eef7cd Mon Sep 17 00:00:00 2001 From: kkoles Date: Thu, 18 Apr 2024 09:28:56 +0200 Subject: [PATCH] feat: add multi-platform image build --- .github/workflows/prod.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 49f5ad6..859fba9 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -21,6 +21,12 @@ jobs: - name: Checkout project 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: Log in to the Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -38,6 +44,7 @@ jobs: uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}