separate-database #2
|
@ -330,8 +330,7 @@ steps:
|
||||||
- export ROOT=stack
|
- export ROOT=stack
|
||||||
- cd /stack/gitea
|
- cd /stack/gitea
|
||||||
- "n=0\nwhile :\ndo\n docker login $${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/ --username client --password \"$${REGISTRY_PASSWORD}\" \\\\\n && break # substitute your command here\n n=$((n+1))\n if [ $n -ge 10 ]; then\n echo \"login failed\"\n exit 1\n fi\n echo \"retrying login..$n\"\n sleep 5\ndone\n"
|
- "n=0\nwhile :\ndo\n docker login $${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/ --username client --password \"$${REGISTRY_PASSWORD}\" \\\\\n && break # substitute your command here\n n=$((n+1))\n if [ $n -ge 10 ]; then\n echo \"login failed\"\n exit 1\n fi\n echo \"retrying login..$n\"\n sleep 5\ndone\n"
|
||||||
- echo hello
|
- printenv
|
||||||
- echo itis $${DRONE_COMMIT_SHA}
|
|
||||||
- sh .drone/pull.sh $${DRONE_COMMIT_SHA}
|
- sh .drone/pull.sh $${DRONE_COMMIT_SHA}
|
||||||
- sh .drone/deploy.sh $${DRONE_COMMIT_SHA}
|
- sh .drone/deploy.sh $${DRONE_COMMIT_SHA}
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue