test
Some checks failed
Web/ip/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2021-01-04 15:54:09 -05:00
parent 79882ede76
commit 2b926f0b3b
2 changed files with 31 additions and 3 deletions

12
Jenkinsfile vendored
View File

@@ -2,10 +2,16 @@ pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/ip'
dockerImage = 'jcabillot/ip:arm64'
}
agent any
//agent any
agent {
kubernetes {
defaultContainer 'docker' // All `steps` instructions will be executed by this container
yamlFile 'Jenkinsfile-pod-template.yml'
}
}
triggers {
cron('@midnight')
@@ -20,7 +26,7 @@ pipeline {
stage('Build image') {
steps{
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} .'
sh 'docker build --build-arg VERSION=arm64 --force-rm=true --no-cache=true --pull -t ${dockerImage} .'
}
}