#814 Docker deploy fixes
This commit is contained in:
parent
b2c510fcd9
commit
a5897c7808
|
@ -29,13 +29,13 @@ node {
|
|||
}
|
||||
}
|
||||
stage ('Docker deployment') {
|
||||
sh "docker-compose build"
|
||||
|
||||
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
||||
env.COMPOSE_HTTP_TIMEOUT = 300
|
||||
env.COMPOSE_PROJECT_NAME = 'salix'
|
||||
env.DOCKER_TLS_VERIFY = 1
|
||||
|
||||
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
||||
sh "docker-compose build"
|
||||
|
||||
env.DOCKER_HOST = 'tcp://vch2.verdnatura.es:2376';
|
||||
sh "docker-compose up -d"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue