Merge pull request #11908 from overleaf/jpa-fix-build-cache

[misc] fix building docker image with cache when using docker version 23+

GitOrigin-RevId: 3df64bfc888b324b255af4c3f3b3abd178504a33
This commit is contained in:
Jakob Ackermann
2023-02-22 09:04:07 +00:00
committed by Copybot
parent d483211677
commit b0e45c1605
4 changed files with 4 additions and 4 deletions
+1
View File
@@ -92,6 +92,7 @@ build:
|| echo 'nothing cached'
docker build \
--pull \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--tag gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
--cache-from gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \