You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
777 B
17 lines
777 B
podTemplate(containers: [
|
|
containerTemplate(name: 'maven', image: 'maven:3.3.9-jdk-8-alpine', ttyEnabled: true, command: 'cat'),
|
|
containerTemplate(name: 'golang', image: 'golang:1.8.0', ttyEnabled: true, command: 'cat'),
|
|
containerTemplate(name: 'kaniko', image: 'gcr.io/kaniko-project/executor:latest', imagePullPolicy: 'Always', command: '/busybox/cat', ttyEnabled: true)
|
|
]) {
|
|
|
|
node(POD_LABEL) {
|
|
stage('Build') {
|
|
git 'https://gyulai.cloud/git/bme/covidok-backend.git'
|
|
container('kaniko') {
|
|
stage('Build and publish dev Docker image') {
|
|
sh '/kaniko/executor -f covidok-backend/CoviDok/Dockerfile -c `pwd` --destination=docker.local/bme/covidok'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|