ghost/.drone/deploy.sh

7 lines
254 B
Bash

export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/ \
&& echo "scheme: ${SCHEME}" \
&& docker stack rm ghost \
&& echo 'sleeping...zzz' \
&& sleep 60 \
&& docker stack deploy -c docker-compose.yml ghost --with-registry-auth