Merge pull request #1942 from sergeyfd/auth-proxy

Support for custom authentication URL in proxying registry
This commit is contained in:
Richard Scothern
2016-10-10 10:40:51 -07:00
committed by GitHub
2 changed files with 34 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ func NewRegistryPullThroughCache(ctx context.Context, registry distribution.Name
return nil, err
}
cs, err := configureAuth(config.Username, config.Password)
cs, err := configureAuth(config.Username, config.Password, config.RemoteURL)
if err != nil {
return nil, err
}