From a18738f8f2086c92f4ce8da3407140bd53551b3b Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Fri, 3 May 2024 22:10:09 +0530 Subject: [PATCH] feat: update PR CI with multi arch support Signed-off-by: K.B.Dharun Krishna --- .github/workflows/image-pr.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/image-pr.yml b/.github/workflows/image-pr.yml index 99fd35a..cc1d0d5 100644 --- a/.github/workflows/image-pr.yml +++ b/.github/workflows/image-pr.yml @@ -25,6 +25,12 @@ jobs: name: Containerfile path: Containerfile + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Rename Containerfile to Dockerfile run: mv Containerfile Dockerfile @@ -32,5 +38,6 @@ jobs: uses: docker/build-push-action@v5.3.0 with: context: . + platforms: linux/amd64,linux/arm64 push: false tags: ${{ github.actor }}/${{ env.IMAGE_NAME }}:main