Skip to content

Commit fbf27e6

Browse files
committed
feat: [CI-17953]: Add warning if base image connector is not provided
1 parent be488f7 commit fbf27e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ func (p Plugin) Exec() error {
193193
fmt.Println(out)
194194
return fmt.Errorf("Error authenticating base connector: exit status 1")
195195
}
196+
} else {
197+
fmt.Println("\033[33mTo ensure consistent and reliable pipeline execution, we recommend setting up a Base Image Connector.\033[0m\n" +
198+
"\033[33mWhile optional at this time, configuring it helps prevent failures caused by Docker Hub's rate limits.\033[0m")
196199
}
197200

198201
// login to the Docker registry

0 commit comments

Comments
 (0)