From dd9c142a1757949a3c17f012e8c3e9160f04efe6 Mon Sep 17 00:00:00 2001 From: fabiankramm Date: Tue, 18 Sep 2018 17:16:22 +0200 Subject: [PATCH] Fix regex for image name question --- cmd/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/init.go b/cmd/init.go index aa5fe6aef5..f74c01c831 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -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 {