File tree 1 file changed +8
-6
lines changed 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 {
97
97
if s .imageConfig .Registry .Username == "" && s .imageConfig .Registry .Password == "" {
98
98
return nil
99
99
}
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
+ },
105
107
},
106
108
},
107
- }, nil )}
109
+ })}
108
110
}
109
111
110
112
func (s * ServiceImpl ) solveDockerfile (
You can’t perform that action at this time.
0 commit comments