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