File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -97,14 +97,16 @@ func (s *ServiceImpl) authSessions() []session.Attachable {
9797 if s .imageConfig .Registry .Username == "" && s .imageConfig .Registry .Password == "" {
9898 return nil
9999 }
100- return []session.Attachable {authprovider .NewDockerAuthProvider (& configfile.ConfigFile {
101- AuthConfigs : map [string ]types.AuthConfig {
102- s .imageConfig .Registry .Addr : {
103- Username : s .imageConfig .Registry .Username ,
104- Password : s .imageConfig .Registry .Password ,
100+ return []session.Attachable {authprovider .NewDockerAuthProvider (authprovider.DockerAuthProviderConfig {
101+ ConfigFile : & configfile.ConfigFile {
102+ AuthConfigs : map [string ]types.AuthConfig {
103+ s .imageConfig .Registry .Addr : {
104+ Username : s .imageConfig .Registry .Username ,
105+ Password : s .imageConfig .Registry .Password ,
106+ },
105107 },
106108 },
107- }, nil )}
109+ })}
108110}
109111
110112func (s * ServiceImpl ) solveDockerfile (
You can’t perform that action at this time.
0 commit comments