docker-login: shellcheck fix

This commit is contained in:
zimbatm 2019-02-07 19:16:11 +01:00
parent 9ccd9a4c04
commit 10e9882705
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -14,8 +14,8 @@ mkdir ~/.docker
cat <<DOCKER_CONF > ~/.docker/config.json
{
"auths": {
"$CI_REGISTRY": {
"auth": "$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64)"
"$registry": {
"auth": "$(printf "%s:%s" "$username" "$password" | base64)"
}
}
}