mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 11:55:42 +03:00
Merge pull request #10929 from AchilleAsh/fix-token-docker-auth-config
fix: load token in docker auth config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user