New staging deployment
This commit is contained in:
parent
6e240f95cf
commit
d9098182d4
1 changed files with 7 additions and 0 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -24,6 +24,13 @@ node {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Push image') {
|
||||
docker.withRegistry('https://hub.thisfro.ch', 'git') {
|
||||
app.push("${env.BUILD_NUMBER}")
|
||||
app.push("latest")
|
||||
}
|
||||
}
|
||||
|
||||
stage('Deploy staging') {
|
||||
sh 'docker-compose --project-directory /opt/containers/pflaenz.li --file /opt/containers/pflaenz.li/docker-compose.yml up -d'
|
||||
}
|
||||
|
|
Reference in a new issue