From da028c5101754071e071b658bad92fb9095a28f5 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Mon, 3 Jan 2022 12:16:41 -0600 Subject: [PATCH] single snapshot seems to prevent layers from being added as expected. --- build-kaniko.jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-kaniko.jenkins b/build-kaniko.jenkins index dbaf320..2caeb46 100644 --- a/build-kaniko.jenkins +++ b/build-kaniko.jenkins @@ -66,7 +66,7 @@ COPY ./kaniko-chain.crt /kaniko/ssl/certs/ca-certificates.crt """ sh "cp /kaniko/ssl/certs/ca-certificates.crt \"${workspace}/kaniko-chain.crt\"" writeFile(file: workspace + "/Dockerfile", text: DF) - sh "/kaniko/executor --single-snapshot --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/kaniko:latest\"" + sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/kaniko:latest\"" } } }