Deploy fixes
This commit is contained in:
parent
eb0c497d05
commit
26a4614296
|
@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue