Deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-11 08:58:51 +01:00
parent eb0c497d05
commit 26a4614296
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -53,7 +53,6 @@ try {
sh "docker login --username \"${env.USER}\" --password \"${env.PASSWORD}\" ${env.REGISTRY}"
sh "docker-compose build --parallel"
sh "docker-compose push"
sh "docker logout ${env.REGISTRY}"
withCredentials([dockerCert(
credentialsId: 'docker',
@ -69,6 +68,8 @@ try {
sh "docker-compose pull"
sh "docker-compose up -d"
}
sh "docker logout ${env.REGISTRY}"
}
}
}