forked from github-mirror/docker-nixpkgs
docker-login: remove \n from token
This commit is contained in:
@@ -20,7 +20,7 @@ cat <<DOCKER_CONF > ~/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"$registry": {
|
||||
"auth": "$(echo "$auth" | base64)"
|
||||
"auth": "$(echo -n "$auth" | base64)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user