From 273ed9598fa29bba13c4de69279f03f42092b015 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 28 Jan 2020 15:08:01 +0100 Subject: [PATCH] Compose service renamed --- Jenkinsfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e3a83db..7cf4f43 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -47,7 +47,7 @@ pipeline { branch 'master' } steps { - sh "docker stack deploy --with-registry-auth --compose-file docker-compose.yml ${env.PROJECT_NAME}" + sh "docker stack deploy --with-registry-auth --prune --compose-file docker-compose.yml ${env.PROJECT_NAME}" } } } diff --git a/docker-compose.yml b/docker-compose.yml index 25b996f..2af0de2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: '3.7' services: - service: + main: image: registry.verdnatura.es/vn-autoconfig build: context: .