You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix:[CI-13562]:improve error message for anonymous connector used (#34)
* fix:[CI-12799]:improve error message for anonymous connector used
* fix:[CI-13562]:improve error message for anonymous connector used
fix:[CI-13562]:typo
* fix:[CI-13562]: add error in command login too
* check for registry empty
// add base image docker credentials to the existing config file, else create new
180
180
// instead of writing to config file directly, using docker's login func
181
-
ifp.BaseImagePassword!="" {
181
+
ifp.BaseImageRegistry!="" {
182
+
ifp.BaseImageUsername=="" {
183
+
returnfmt.Errorf("Username cannot be empty. The base image connector requires authenticated access. Please either use an authenticated connector, or remove the base image connector.")
184
+
}
185
+
ifp.BaseImagePassword=="" {
186
+
returnfmt.Errorf("Password cannot be empty. The base image connector requires authenticated access. Please either use an authenticated connector, or remove the base image connector.")
0 commit comments