From e4f775ca87f59b7327b13cd9c3899ed63eee6639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Sun, 2 Apr 2023 21:58:49 +0200 Subject: [PATCH] ci: use max cache mode --- hack/build-docker-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/build-docker-image.sh b/hack/build-docker-image.sh index 5e6fe5f..8e44714 100755 --- a/hack/build-docker-image.sh +++ b/hack/build-docker-image.sh @@ -11,7 +11,7 @@ REPO="apricote/listory" PLATFORMS="--platform=linux/amd64,linux/arm64" TAGS="--tag ${REPO}:${VERSION} --tag ${REPO}:latest" ARGS="--build-arg VERSION=${VERSION} --build-arg GIT_COMMIT=`git rev-parse HEAD`" -CACHE="--cache-from=type=registry,ref=${REPO}:buildcache --cache-to=type=registry,ref=${REPO}:buildcache" +CACHE="--cache-from=type=registry,ref=${REPO}:buildcache --cache-to=type=registry,ref=${REPO}:buildcache,mode=max" # We "build" the image twice, once in "prepare" and then again in "publish" stage: