summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-10-14 09:57:31 +0100
committerErik Johnston <erik@matrix.org>2022-10-14 09:57:31 +0100
commit424d1d28cc73df1fcad70e7fff5978864d99b1d0 (patch)
tree243c8afa6a63329d3f21c7d5941ec5be4b139e21
parentDisable push of docker images (diff)
downloadsynapse-424d1d28cc73df1fcad70e7fff5978864d99b1d0.tar.xz
Fix docker workflow
-rw-r--r--.github/workflows/docker.yml8
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