Add support for building docker image for arm64 in github actions

Alessandro Uffreduzzi committed Nov 10, 2022 at 09:49 UTC b46d5bb988d9b073c96146302d3b3f3b173359cb
1 file changed +3 -2
.github/workflows/docker.yml
+3 -2
@@ -43,13 +43,14 @@ jobs:
43 with:
44 images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
45 - name: Build and push Docker image
46 - uses: docker/build-push-action@v2
46 + uses: docker/build-push-action@v3
47 with:
48 context: .
49 file: docker/Dockerfile
50 + platforms: linux/amd64,linux/arm64
51 push: true
52 tags: ${{ steps.meta.outputs.tags }}
53 labels: ${{ steps.meta.outputs.labels }}
53 - build-args: |
54 + build-args: |
55 INCLUDE_MONGODBTOOLS=true
56 PREINSTALL_LIBS=true