From 4615c4e5a51d1d5939824de4ae3f1a1ec43db4ae Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 22 Oct 2020 21:29:41 +0100 Subject: [PATCH] . --- .drone/drone-home.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone/drone-home.yml b/.drone/drone-home.yml index 83a3dcb..02adb60 100644 --- a/.drone/drone-home.yml +++ b/.drone/drone-home.yml @@ -123,6 +123,9 @@ steps: - drone_build_number - drone_repo_name - drone_repo_namespace + - registry_domain + - registry_port + - registry_password script: - "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 postgres:12.4 @@ -136,6 +139,9 @@ steps: - drone_build_number - drone_repo_name - drone_repo_namespace + - registry_domain + - registry_port + - registry_password script: - "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 guacamole/guacd:1.2.0 @@ -149,6 +155,9 @@ steps: - drone_build_number - drone_repo_name - drone_repo_namespace + - registry_domain + - registry_port + - registry_password script: - "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 guacamole/guacamole:1.2.0