summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-01-12 10:37:57 +0000
committerGitHub <noreply@github.com>2022-01-12 10:37:57 +0000
commitd41c4654db03dc76812e98222feb62668a1bf94c (patch)
treea5bf1ca964f40b71ec35f676bd626bc0bf7c08bf /.github
parentComplement environment variable name change and update .gitignore. (#11718) (diff)
downloadsynapse-d41c4654db03dc76812e98222feb62668a1bf94c.tar.xz
Use buildkit's cache feature to speed up docker builds (#11691)
Having spent much of the last week attempting to run complement tests from somewhere with damp string instead of internet... something had to be done.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6fa61ab559..4f58069702 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -366,6 +366,8 @@ jobs:
       # Build initial Synapse image
       - run: docker build -t matrixdotorg/synapse:latest -f docker/Dockerfile .
         working-directory: synapse
+        env:
+          DOCKER_BUILDKIT: 1
 
       # Build a ready-to-run Synapse image based on the initial image above.
       # This new image includes a config file, keys for signing and TLS, and