Fix docker workflow

This commit is contained in:
Erik Johnston 2022-10-14 09:57:31 +01:00
parent f3f303aa22
commit 424d1d28cc

View File

@ -55,6 +55,8 @@ jobs:
tags: "${{ steps.set-tag.outputs.tags }}" tags: "${{ steps.set-tag.outputs.tags }}"
file: "docker/Dockerfile" file: "docker/Dockerfile"
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
build-args:
# arm64 builds OOM otherwise. c.f. https://github.com/rust-lang/cargo/issues/10583 # arm64 builds OOM without the git fetch setting. c.f.
CARGO_NET_GIT_FETCH_WITH_CLI: true # https://github.com/rust-lang/cargo/issues/10583
build-args: |
CARGO_NET_GIT_FETCH_WITH_CLI=true