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