Update 'Jenkinsfile'
Some checks failed
Homelab/jenkins-container/pipeline/head There was a failure building this commit

This commit is contained in:
jim 2022-09-02 02:04:59 +00:00
parent 2f4ee153cb
commit afded6230b

13
Jenkinsfile vendored
View File

@ -22,6 +22,19 @@ podTemplate(
stage('Checkout') { stage('Checkout') {
checkout scm 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"
}
}
}
} }
} }
) )