Use k3s
This commit is contained in:
parent
643f9fd03c
commit
4837a1a8cd
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -2,10 +2,16 @@ pipeline {
|
|||||||
environment {
|
environment {
|
||||||
registry = 'https://registry.hub.docker.com'
|
registry = 'https://registry.hub.docker.com'
|
||||||
registryCredential = 'dockerhub_jcabillot'
|
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 {
|
triggers {
|
||||||
cron('@midnight')
|
cron('@midnight')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user