Skip to content

Commit dd9c142

Browse files
committed
Fix regex for image name question
1 parent cefc0bc commit dd9c142

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ func (cmd *InitCmd) configureRegistry() {
531531
cmd.defaultImage.Name = stdinutil.GetFromStdin(&stdinutil.GetFromStdinParams{
532532
Question: "Which image name do you want to use on Docker Hub?",
533533
DefaultValue: defaultImageName,
534-
ValidationRegexPattern: "^[a-zA-Z0-9]{4,30}$",
534+
ValidationRegexPattern: "^[a-zA-Z0-9/]{4,30}$",
535535
})
536536
}
537537
} else {

0 commit comments

Comments
 (0)