From f65f515e0d0941bedc7a80721bfbb01430c2a4ea Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Fri, 4 Nov 2022 20:57:47 +0800 Subject: [PATCH] Adding --force --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4cbb96b..95441de 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,7 @@ spec: stage('Build with Kaniko') { git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr.git', credentialsId: 'jenkins2git' container('kaniko') { - sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/sonarr:v3.0.9.1549' + sh '/kaniko/executor --force -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/sonarr:v3.0.9.1549' } } stage('Notify gchat') {