Build with Kaniko
Some checks reported errors
Homelab/java-spring-microservice/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Jim Nicholson 2021-12-22 17:38:24 -08:00
parent c56e6b0349
commit bb02557dda

8
Jenkinsfile vendored
View File

@ -10,10 +10,8 @@ podTemplate(label: label, containers: [
containerTemplate(
name: 'kaniko',
image: 'gcr.io/kaniko-project/executor:latest',
command:
- sleep
args:
- 99d
command: 'sleep',
args: '99d'
)
]) {
node(label) {
@ -30,8 +28,10 @@ podTemplate(label: label, containers: [
}
}
container('kaniko') {
stage('Image') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --insecure --skip-tls-verify --cache-true --destination=docker.thejimnicholson.com/servicedemo/test:latest'
}
}
}
}
}