diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..fd8f596 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,21 @@ +pipeline { + stages { + stage('Buildo Roboto') { + agent { + kubernetes { + defaultContainer 'kaniko' + yamlFile 'kaniko.yaml' + } + } + steps { + /* + * Since we're in a different pod than the rest of the + * stages, we'll need to grab our source tree since we don't + * have a shared workspace with the other pod(s).. + */ + checkout scm + sh 'sh -c ./scripts/build-kaniko.sh' + } + } + } +} \ No newline at end of file