From b46d5bb988d9b073c96146302d3b3f3b173359cb Mon Sep 17 00:00:00 2001 From: Alessandro Uffreduzzi Date: Thu, 10 Nov 2022 09:49:38 +0100 Subject: [PATCH] Add support for building docker image for arm64 in github actions --- .github/workflows/docker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 40d5c7f1..bb6978c1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -43,13 +43,14 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: docker/Dockerfile + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - build-args: | + build-args: | INCLUDE_MONGODBTOOLS=true PREINSTALL_LIBS=true