Add debug info for docker login file.

This commit is contained in:
redxef 2022-08-29 19:24:03 +02:00
parent 79c7b1701d
commit aa289e7588
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -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 ''
else
docker_login "$(split_repo_domain "$REPOSITORY" | head -n1)" docker_login "$(split_repo_domain "$REPOSITORY" | head -n1)"
fi jq -r . < "$HOME/.docker/config.json"
fi fi
if [ -z "$REPOSITORY" ]; then if [ -z "$REPOSITORY" ]; then