From f95884969d45469652b28c41031310c6a1f31b94 Mon Sep 17 00:00:00 2001 From: ryuupendragon Date: Wed, 20 Aug 2025 19:23:47 +0530 Subject: [PATCH] Update WF for both amd64 and arm64 --- .github/workflows/build-and-push.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index eee8fa2..421a191 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -36,8 +36,15 @@ jobs: echo "version=$VERSION" >> $GITHUB_OUTPUT echo "VERSION=$VERSION" >> $GITHUB_ENV + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64,amd64 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + driver-opts: image=moby/buildkit:master # Required for multi-arch builds - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -65,3 +72,6 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64 + build-args: | + BUILDKIT_INLINE_CACHE=1