portainer/.drone/deploy.sh

6 lines
231 B
Bash
Raw Normal View History

2020-10-23 09:32:35 +00:00
export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/ \
&& docker stack rm portainer \
&& echo 'sleeping...60' \
&& sleep 60 \
&& docker stack deploy -c docker-compose.yml portainer --with-registry-auth