gitea/.drone/deploy.sh

7 lines
241 B
Bash

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