Add support for building docker image for arm64 in github actions

This commit is contained in:
Alessandro Uffreduzzi 2022-11-10 09:49:38 +01:00
parent 5b06fefdae
commit b46d5bb988

View File

@ -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