Merge pull request #10929 from AchilleAsh/fix-token-docker-auth-config
fix: load token in docker auth config
This commit is contained in:
commit
61436b437a
|
@ -125,6 +125,8 @@ func authFromDockerConfig(file string) authBackend {
|
|||
Password: dockerAuthConfig.Password,
|
||||
Email: dockerAuthConfig.Email,
|
||||
ServerAddress: dockerAuthConfig.ServerAddress,
|
||||
IdentityToken: dockerAuthConfig.IdentityToken,
|
||||
RegistryToken: dockerAuthConfig.RegistryToken,
|
||||
}
|
||||
if authIsEmpty(auth) {
|
||||
return nil, nil
|
||||
|
|
Loading…
Reference in New Issue