Skip to content

Commit

Permalink
Merge pull request #10929 from AchilleAsh/fix-token-docker-auth-config
Browse files Browse the repository at this point in the history
fix: load token in docker auth config
  • Loading branch information
jrasell authored and Mahmood Ali committed Aug 26, 2021
1 parent c3958c9 commit d88526c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/docker/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d88526c

Please sign in to comment.