docker-login: remove \n from token

This commit is contained in:
zimbatm 2021-02-10 14:13:13 +01:00
parent d36bde09e3
commit 4d4b61e919
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -20,7 +20,7 @@ cat <<DOCKER_CONF > ~/.docker/config.json
{ {
"auths": { "auths": {
"$registry": { "$registry": {
"auth": "$(echo "$auth" | base64)" "auth": "$(echo -n "$auth" | base64)"
} }
} }
} }