draught/.jenkins/jenkinsfile

22 lines
449 B
Plaintext
Raw Normal View History

2023-05-01 08:47:46 +01:00
pipeline {
agent any
stages {
stage('Deploy') {
when { branch 'master' }
steps {
script {
2023-05-14 19:08:33 +01:00
docker.withRegistry('https://registry.sarsoo.xyz', 'git-registry-creds') {
2023-05-01 08:47:46 +01:00
docker.build("sarsoo/draught:latest").push()
}
}
}
}
}
post {
always {
cleanWs()
}
}
}