summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-10-13 19:16:21 +0100
committerGitHub <noreply@github.com>2022-10-13 18:16:21 +0000
commit29ee4b6698e3f5fd06406e194e6d88cff623fa7b (patch)
tree5631836ebba39a7af42e049dfae8e76067c81a4d /.github
parentOptimise the event_push_backfill_thread_id bg job (#14172) (diff)
downloadsynapse-29ee4b6698e3f5fd06406e194e6d88cff623fa7b.tar.xz
Fix docker build OOMing in CI for arm64 builds (#14173)
Co-authored-by: David Robertson <davidr@element.io>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index b3793e5c1f..b20048ff54 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -27,7 +27,7 @@ jobs:
 
       - name: Inspect builder
         run: docker buildx inspect
-          
+
       - name: Log in to DockerHub
         uses: docker/login-action@v2
         with:
@@ -55,3 +55,6 @@ 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