mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
ci: use max cache mode
This commit is contained in:
parent
3f4cf93792
commit
e4f775ca87
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ REPO="apricote/listory"
|
||||||
PLATFORMS="--platform=linux/amd64,linux/arm64"
|
PLATFORMS="--platform=linux/amd64,linux/arm64"
|
||||||
TAGS="--tag ${REPO}:${VERSION} --tag ${REPO}:latest"
|
TAGS="--tag ${REPO}:${VERSION} --tag ${REPO}:latest"
|
||||||
ARGS="--build-arg VERSION=${VERSION} --build-arg GIT_COMMIT=`git rev-parse HEAD`"
|
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:
|
# We "build" the image twice, once in "prepare" and then again in "publish" stage:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue