Adding --force

This commit is contained in:
Jonathan Ervine 2022-11-04 20:57:47 +08:00
parent bdf77a8489
commit f65f515e0d

2
Jenkinsfile vendored
View File

@ -28,7 +28,7 @@ spec:
stage('Build with Kaniko') { stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr.git', credentialsId: 'jenkins2git' git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr.git', credentialsId: 'jenkins2git'
container('kaniko') { 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') { stage('Notify gchat') {