mirror of https://github.com/docker/buildx.git
Merge 83e1c6be6a
into e3c6618db2
This commit is contained in:
commit
dfc1b67429
|
@ -134,6 +134,9 @@ func toCredentialsFunc(a Auth) func(string) (string, string, error) {
|
|||
if ac.IdentityToken != "" {
|
||||
return "", ac.IdentityToken, nil
|
||||
}
|
||||
if ac.RegistryToken != "" {
|
||||
return "", ac.RegistryToken, nil
|
||||
}
|
||||
return ac.Username, ac.Password, nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue