kaniko: use moar cache

Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
This commit is contained in:
Frank Villaro-Dixon 2022-05-18 15:04:47 +02:00
parent fa8c34ef83
commit 98f56b5013

View file

@ -35,6 +35,8 @@ docker-build-commit:
/kaniko/executor \
--force \
--cache=true \
--cache-copy-layers \
--cache-repo=$CI_REGISTRY \
--context "${CI_PROJECT_DIR}/${DOCKERFILE_LOCATION}" \
--dockerfile "${CI_PROJECT_DIR}/${DOCKERFILE_LOCATION}/${DOCKERFILE_NAME}" \
--destination "${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_NAME}:${CI_COMMIT_SHORT_SHA}" \