fix docker-login when ~/.docker exists

This commit is contained in:
zimbatm 2021-02-10 13:50:31 +01:00
parent bf1338907c
commit 0d649be976
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -14,7 +14,7 @@ if [[ $registry = *docker.io ]]; then
registry=https://index.docker.io/v2/ registry=https://index.docker.io/v2/
fi fi
mkdir ~/.docker mkdir -p ~/.docker
cat <<DOCKER_CONF > ~/.docker/config.json cat <<DOCKER_CONF > ~/.docker/config.json
{ {