draught/.jenkins/jenkinsfile
2024-02-01 18:21:02 +00:00

25 lines
567 B
Plaintext

pipeline {
agent any
stages {
stage('Deploy') {
when { branch 'master' }
steps {
script {
dir('draught_web')
{
docker.withRegistry('https://registry.sarsoo.xyz', 'git-registry-creds')
{
docker.build("sarsoo/draught:latest").push()
}
}
}
}
}
}
post {
always {
cleanWs()
}
}
}