Add debug info for docker login file.
This commit is contained in:
parent
79c7b1701d
commit
aa289e7588
1 changed files with 2 additions and 5 deletions
|
@ -66,11 +66,8 @@ if [ -n "$USERNAME" ]; then
|
||||||
if [ -z "$PASSWORD" ]; then
|
if [ -z "$PASSWORD" ]; then
|
||||||
fail "need to also give password when logging in"
|
fail "need to also give password when logging in"
|
||||||
fi
|
fi
|
||||||
if [ -z "$REPOSITORY" ]; then
|
docker_login "$(split_repo_domain "$REPOSITORY" | head -n1)"
|
||||||
docker_login ''
|
jq -r . < "$HOME/.docker/config.json"
|
||||||
else
|
|
||||||
docker_login "$(split_repo_domain "$REPOSITORY" | head -n1)"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$REPOSITORY" ]; then
|
if [ -z "$REPOSITORY" ]; then
|
||||||
|
|
Reference in a new issue