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(
|
containerTemplate(
|
||||||
name: 'kaniko',
|
name: 'kaniko',
|
||||||
image: 'gcr.io/kaniko-project/executor:latest',
|
image: 'gcr.io/kaniko-project/executor:latest',
|
||||||
command:
|
command: 'sleep',
|
||||||
- sleep
|
args: '99d'
|
||||||
args:
|
|
||||||
- 99d
|
|
||||||
)
|
)
|
||||||
]) {
|
]) {
|
||||||
node(label) {
|
node(label) {
|
||||||
@ -30,8 +28,10 @@ podTemplate(label: label, containers: [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
container('kaniko') {
|
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'
|
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