Spaces:
Paused
Paused
podTemplate(containers: [ | |
containerTemplate(name: 'kaniko', image: 'gcr.io/kaniko-project/executor:v1.13.0-debug', command: 'cat', ttyEnabled: true, | |
resourceRequestCpu: '500m', resourceRequestMemory: '56Gi', resourceLimitMemory: '56Gi') | |
]) { | |
node(POD_LABEL) { | |
stage('checkout') { | |
checkout scm | |
} | |
stage('kaniko build+publish') { | |
container('kaniko'){ | |
withCredentials([file(credentialsId: 'docker_auth', variable: 'dockerauth')]) { | |
sh "ln -s \$dockerauth /kaniko/.docker/config.json" | |
sh """/kaniko/executor --dockerfile `pwd`/Dockerfile \ | |
--context `pwd` \ | |
--destination docker.qualityminds.de/rd/ai-christmas:latest | |
""" | |
} | |
} | |
} | |
} | |
} | |