From f1b1445b7f69c4a5964317d54f02ca9fb68dec8b Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Fri, 20 Nov 2020 17:36:45 +0800 Subject: [PATCH] Disable docker cache --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2a23513..719d827 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ spec: stage('Build with Kaniko') { git branch: "dev", url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git' container('kaniko') { - sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12.1 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:0.1' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12.1 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.12 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:0.1' } } stage('Notify gchat') {