|
@@ -0,0 +1,20 @@
|
|
|
+def label = "update-route53.$BUILD_NUMBER-pipeline"
|
|
|
+
|
|
|
+podTemplate(label: label, containers: [
|
|
|
+ containerTemplate(name: 'kaniko', image: 'gcr.io/kaniko-project/executor:debug', command: '/busybox/cat', ttyEnabled: true)
|
|
|
+],
|
|
|
+volumes: [
|
|
|
+ secretVolume(mountPath: '/root/.docker/', secretName: 'kaniko-secret')
|
|
|
+]) {
|
|
|
+ node(label) {
|
|
|
+ stage('Stage 1: Build with Kaniko') {
|
|
|
+ container('kaniko') {
|
|
|
+ sh '/kaniko/executor --context="git://git.monkeybox.org/Containers/update-route53#refs/heads/main" \
|
|
|
+ --destination="fdamstra/update-route53:latest" \
|
|
|
+ --insecure \
|
|
|
+ --skip-tls-verify \
|
|
|
+ -v=debug'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|