diff options
author | Erik Johnston <erik@matrix.org> | 2022-10-14 09:57:31 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2022-10-14 09:57:31 +0100 |
commit | 424d1d28cc73df1fcad70e7fff5978864d99b1d0 (patch) | |
tree | 243c8afa6a63329d3f21c7d5941ec5be4b139e21 /.github/workflows | |
parent | Disable push of docker images (diff) | |
download | synapse-424d1d28cc73df1fcad70e7fff5978864d99b1d0.tar.xz |
Fix docker workflow
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/docker.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c50df17e92..c70a7088c4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -55,6 +55,8 @@ jobs: tags: "${{ steps.set-tag.outputs.tags }}" file: "docker/Dockerfile" platforms: linux/amd64,linux/arm64 - build-args: - # arm64 builds OOM otherwise. c.f. https://github.com/rust-lang/cargo/issues/10583 - CARGO_NET_GIT_FETCH_WITH_CLI: true + + # arm64 builds OOM without the git fetch setting. c.f. + # https://github.com/rust-lang/cargo/issues/10583 + build-args: | + CARGO_NET_GIT_FETCH_WITH_CLI=true |