We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a649f commit 4500196Copy full SHA for 4500196
app/common/http/controller/registry.go
@@ -76,6 +76,15 @@ func (self Registry) Create(http *gin.Context) {
76
self.JsonResponseWithError(http, err, 500)
77
return
78
}
79
+ } else {
80
+ response, err = docker.Sdk.Client.RegistryLogin(docker.Sdk.Ctx, registry.AuthConfig{
81
+ ServerAddress: params.ServerAddress,
82
+ Email: params.Email,
83
+ })
84
+ if err != nil {
85
+ self.JsonResponseWithError(http, err, 500)
86
+ return
87
+ }
88
89
90
registryNew := &entity.Registry{
0 commit comments