From d074d183fff5461000d822611562a1825bc73461 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 22 Oct 2020 17:29:53 +0100 Subject: [PATCH] . --- .drone/deploy.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone/deploy.sh b/.drone/deploy.sh index 1fbdd30..d8b6ecd 100644 --- a/.drone/deploy.sh +++ b/.drone/deploy.sh @@ -1,4 +1,5 @@ -docker stack rm portainer -echo 'sleeping...60' -sleep 60 -docker stack deploy -c docker-compose.yml portainer +export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ \ +docker stack rm portainer / +&& echo 'sleeping...60' / +&& sleep 60 / +&& docker stack deploy -c docker-compose.yml portainer