Use k3s
This commit is contained in:
parent
643f9fd03c
commit
4837a1a8cd
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user