kaniko: use moar cache
Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
This commit is contained in:
parent
fa8c34ef83
commit
98f56b5013
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ docker-build-commit:
|
||||||
/kaniko/executor \
|
/kaniko/executor \
|
||||||
--force \
|
--force \
|
||||||
--cache=true \
|
--cache=true \
|
||||||
|
--cache-copy-layers \
|
||||||
|
--cache-repo=$CI_REGISTRY \
|
||||||
--context "${CI_PROJECT_DIR}/${DOCKERFILE_LOCATION}" \
|
--context "${CI_PROJECT_DIR}/${DOCKERFILE_LOCATION}" \
|
||||||
--dockerfile "${CI_PROJECT_DIR}/${DOCKERFILE_LOCATION}/${DOCKERFILE_NAME}" \
|
--dockerfile "${CI_PROJECT_DIR}/${DOCKERFILE_LOCATION}/${DOCKERFILE_NAME}" \
|
||||||
--destination "${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_NAME}:${CI_COMMIT_SHORT_SHA}" \
|
--destination "${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_NAME}:${CI_COMMIT_SHORT_SHA}" \
|
||||||
|
|
Loading…
Reference in a new issue