portainer/.drone/deploy.sh

6 lines
215 B
Bash
Raw Normal View History

2020-10-22 16:29:53 +00:00
export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ \
2020-10-22 16:32:52 +00:00
&& docker stack rm portainer \
&& echo 'sleeping...60' \
&& sleep 60 \
2020-10-22 16:54:49 +00:00
&& docker stack deploy -c docker-compose.yml portainer --with-registry-auth