diff --git a/Jenkinsfile b/Jenkinsfile index 61c60b8..06fc4f9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,10 +2,16 @@ pipeline { environment { registry = 'https://registry.hub.docker.com' registryCredential = 'dockerhub_jcabillot' - dockerImage = 'jcabillot/phpapache' + dockerImage = 'jcabillot/phpapache:arm64' } - agent any + //agent { label 'arm64' } + agent { + kubernetes { + defaultContainer 'docker' // All `steps` instructions will be executed by this container + yamlFile 'Jenkinsfile-pod-template.yml' + } + } triggers { cron('@midnight')