feat: alias common registry names to docker.io

This commit is contained in:
Jose Diaz-Gonzalez
2024-01-12 23:54:14 -05:00
parent 4cc44dc5d9
commit 4aa13bdf47

View File

@@ -31,6 +31,10 @@ func CommandLogin(server string, username string, password string, passwordStdin
return errors.New("Missing password argument")
}
if server == "hub.docker.com" || server == "docker.com" {
server = "docker.io"
}
command := []string{
common.DockerBin(),
"login",