Remove kaniko caching

This commit is contained in:
Jonathan Ervine 2020-11-26 11:31:35 +08:00
parent 5279407a5b
commit ca7552f2d4

2
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine.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/python:v3.12.1 --destination=harbor.ervine.dev/public/x86_64/alpine/python:v3.12'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/python:v3.12.1 --destination=harbor.ervine.dev/public/x86_64/alpine/python:v3.12'
}
}
stage('Notify GChat') {