|
@@ -1,4 +1,4 @@
|
|
|
-def label = "$JOB_BASE_NAME.$BUILD_NUMBER-pipeline"
|
|
|
+def label = "$JOB_NAME.$BUILD_NUMBER-pipeline"
|
|
|
|
|
|
podTemplate(label: label, containers: [
|
|
|
containerTemplate(name: 'kaniko', image: 'gcr.io/kaniko-project/executor:debug', command: '/busybox/cat', ttyEnabled: true)
|
|
@@ -9,8 +9,8 @@ volumes: [
|
|
|
node(label) {
|
|
|
stage('Stage 1: Build with Kaniko') {
|
|
|
container('kaniko') {
|
|
|
- sh '/kaniko/executor --context="git://git.monkeybox.org/Containers/$JOB_BASE_NAME#refs/heads/main" \
|
|
|
- --destination="fdamstra/$JOB_BASE_NAME:latest" \
|
|
|
+ sh '/kaniko/executor --context="git://git.monkeybox.org/Containers/$JOB_NAME#refs/heads/main" \
|
|
|
+ --destination="fdamstra/$JOB_NAME:latest" \
|
|
|
--insecure \
|
|
|
--skip-tls-verify \
|
|
|
-v=debug'
|