Merge pull request #15865 from overleaf/csh-multiple-repo-cache

Make the `-deps` image cache work with multiple repos

GitOrigin-RevId: 83c8350e44721bb01a8533f394bcace2a7bf5d26
This commit is contained in:
Christopher Hoskin 2023-11-21 14:34:03 +00:00 committed by Copybot
parent 38efea39f2
commit 11ff6e769d
3 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ benchmarks:
build:
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|| echo 'nothing cached'
|| echo 'nothing cached for gcr.io/overleaf-ops'
docker build \
--pull \
--build-arg BUILDKIT_INLINE_CACHE=1 \

View file

@ -89,7 +89,7 @@ benchmarks:
build:
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|| echo 'nothing cached'
|| echo 'nothing cached for gcr.io/overleaf-ops'
docker build \
--pull \
--build-arg BUILDKIT_INLINE_CACHE=1 \

View file

@ -89,7 +89,7 @@ benchmarks:
build:
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|| echo 'nothing cached'
|| echo 'nothing cached for gcr.io/overleaf-ops'
docker build \
--pull \
--build-arg BUILDKIT_INLINE_CACHE=1 \