mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
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:
parent
38efea39f2
commit
11ff6e769d
3 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ benchmarks:
|
||||||
build:
|
build:
|
||||||
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||||
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||||
|| echo 'nothing cached'
|
|| echo 'nothing cached for gcr.io/overleaf-ops'
|
||||||
docker build \
|
docker build \
|
||||||
--pull \
|
--pull \
|
||||||
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
||||||
|
|
|
@ -89,7 +89,7 @@ benchmarks:
|
||||||
build:
|
build:
|
||||||
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||||
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||||
|| echo 'nothing cached'
|
|| echo 'nothing cached for gcr.io/overleaf-ops'
|
||||||
docker build \
|
docker build \
|
||||||
--pull \
|
--pull \
|
||||||
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
||||||
|
|
|
@ -89,7 +89,7 @@ benchmarks:
|
||||||
build:
|
build:
|
||||||
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-deps \
|
||||||
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
|| docker pull gcr.io/overleaf-ops/$(PROJECT_NAME):main-deps \
|
||||||
|| echo 'nothing cached'
|
|| echo 'nothing cached for gcr.io/overleaf-ops'
|
||||||
docker build \
|
docker build \
|
||||||
--pull \
|
--pull \
|
||||||
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
||||||
|
|
Loading…
Reference in a new issue