Removed cache from build
This commit is contained in:
parent
9d7bf60a1c
commit
1b8a589d71
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -27,7 +27,7 @@ spec:
|
|||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-watcher.git', credentialsId: 'jenkins-to-git'
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-watcher.git', credentialsId: 'jenkins-to-git'
|
||||||
container('kaniko') {
|
container('kaniko') {
|
||||||
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine/watcher:3.10.5 --destination=harbor.ervine.dev/library/x86_64/alpine/watcher:3.10 --destination=harbor.ervine.dev/public/x86_64/alpine/watcher:v3.10.5 --destination=harbor.ervine.dev/public/x86_64/alpine/watcher:v3.10'
|
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/library/x86_64/alpine/watcher:3.10.5 --destination=harbor.ervine.dev/library/x86_64/alpine/watcher:3.10 --destination=harbor.ervine.dev/public/x86_64/alpine/watcher:v3.10.5 --destination=harbor.ervine.dev/public/x86_64/alpine/watcher:v3.10'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user