game-of-life/.jenkins/jenkinsfile

22 lines
454 B
Plaintext
Raw Permalink Normal View History

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