From 98f56b501324b1632147b0362f5a6f25587ff2fa Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Wed, 18 May 2022 15:04:47 +0200 Subject: [PATCH] kaniko: use moar cache Signed-off-by: Frank Villaro-Dixon --- tpl/docker-build.yml | 2 ++ 1 file changed, 2 insertions(+) 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}" \