mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
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