Skip to content

Commit

Permalink
Merge pull request #226 from covexo/fixes
Browse files Browse the repository at this point in the history
Fix regex for image name question
  • Loading branch information
FabianKramm authored Sep 18, 2018
2 parents cefc0bc + dd9c142 commit fcd7b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ func (cmd *InitCmd) configureRegistry() {
cmd.defaultImage.Name = stdinutil.GetFromStdin(&stdinutil.GetFromStdinParams{
Question: "Which image name do you want to use on Docker Hub?",
DefaultValue: defaultImageName,
ValidationRegexPattern: "^[a-zA-Z0-9]{4,30}$",
ValidationRegexPattern: "^[a-zA-Z0-9/]{4,30}$",
})
}
} else {
Expand Down

0 comments on commit fcd7b1c

Please sign in to comment.