.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is failing Details

This commit is contained in:
Giles Bradshaw 2020-10-06 19:23:15 +01:00
parent 3feb328c0a
commit f5443f34db
2 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,6 @@ steps:
commands: commands:
- set -e - set -e
- export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/ - export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/
- echo $${REGISTRY}
- sh .drone/scripts/initialise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD} - sh .drone/scripts/initialise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD}
volumes: volumes:
- name: dockersock - name: dockersock

View File

@ -1,7 +1,7 @@
n=0 n=0
while : while :
do do
docker login $1 --username client --password $2 \ docker login $1 --username client --password "$2" \
&& break # substitute your command here && break # substitute your command here
n=$((n+1)) n=$((n+1))
if [ $n -ge 10 ]; then if [ $n -ge 10 ]; then