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.
 
 
 
 
 

25 lines
703 B

podTemplate(yaml: """
kind: Pod
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:debug-539ddefcae3fd6b411a95982a830d987f4214251
imagePullPolicy: Always
command:
- /busybox/cat
tty: true
"""
) {
node(POD_LABEL) {
stage('Build') {
git url: 'https://gyulai.cloud/git/bme/covidok-backend.git',
credentialsId: '1b1c30a0-590d-41d4-b775-bdb90e837bc8'
container('kaniko') {
stage('Build and publish dev Docker image') {
sh '/kaniko/executor -f `pwd`/covidok-backend/CoviDok/Dockerfile -c `pwd` --destination=docker.local/bme/covidok'
}
}
}
}
}