Build with Kaniko
Some checks reported errors
Homelab/java-spring-microservice/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Homelab/java-spring-microservice/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
c56e6b0349
commit
bb02557dda
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user