portainer/.drone/deploy.sh

6 lines
215 B
Bash
Raw Normal View History

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 --with-registry-auth