Pull newly built image first

This commit is contained in:
Jannis Portmann 2021-12-27 15:20:05 +01:00
parent a3bd7bf423
commit 16c34a0bf7

4
Jenkinsfile vendored
View file

@ -32,6 +32,8 @@ node {
}
stage('Deploy staging') {
sh 'docker-compose --project-directory /opt/containers/pflaenz.li --file /opt/containers/pflaenz.li/docker-compose.yml up -d'
sh 'cd /opt/containers/pflaenz.li'
sh 'docker-compose pull'
sh 'docker-compose up -d'
}
}