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