.
This commit is contained in:
parent
b7bacec307
commit
6eda1d9772
|
@ -1,3 +1,3 @@
|
||||||
docker build guacamole-postgresql \
|
docker build guacamole-postgresql \
|
||||||
-t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${NAME}/guacamole-postgresql \
|
-t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/guacamole-postgresql \
|
||||||
--build-arg REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${NAME}/
|
--build-arg REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/
|
||||||
|
|
|
@ -223,6 +223,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- set -e
|
- set -e
|
||||||
- export NAME=guacamole
|
- export NAME=guacamole
|
||||||
|
- export ROOT=stack
|
||||||
- "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"
|
||||||
- sh .drone/build.sh
|
- sh .drone/build.sh
|
||||||
- sh .drone/push.sh
|
- sh .drone/push.sh
|
||||||
|
|
Loading…
Reference in New Issue