Update 'Jenkinsfile'
Some checks failed
Homelab/jenkins-container/pipeline/head There was a failure building this commit
Some checks failed
Homelab/jenkins-container/pipeline/head There was a failure building this commit
This commit is contained in:
parent
2f4ee153cb
commit
afded6230b
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -22,6 +22,19 @@ podTemplate(
|
||||
stage('Checkout') {
|
||||
checkout scm
|
||||
}
|
||||
container('kaniko') {
|
||||
stage('Image') {
|
||||
ansiColor('xterm') {
|
||||
sh "/kaniko/executor \
|
||||
-f `pwd`/Dockerfile \
|
||||
-c `pwd` \
|
||||
--insecure \
|
||||
--skip-tls-verify
|
||||
--destination=${REGISTRY}/jenkins:2.346 \
|
||||
--destination=${REGISTRY}/jenkins:latest"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user