diff --git a/tpl/docker-build.yml b/tpl/docker-build.yml index 9a7ad03..3aac611 100644 --- a/tpl/docker-build.yml +++ b/tpl/docker-build.yml @@ -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}" \