Skip to content

Commit df9ec10

Browse files
author
Lukas Gentele
authored
Allow dash in image name when using Docker Hub
1 parent 3a5d84e commit df9ec10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/devspace/configure/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func ImageName(dockerUsername string) error {
6868
defaultImageName = *stdinutil.GetFromStdin(&stdinutil.GetFromStdinParams{
6969
Question: "Which image name do you want to push to?",
7070
DefaultValue: *registryURL + "/" + dockerUsername + "/devspace",
71-
ValidationRegexPattern: "^[a-zA-Z0-9\\./]{4,30}$",
71+
ValidationRegexPattern: "^[a-zA-Z0-9\\./-]{4,30}$",
7272
})
7373
}
7474

0 commit comments

Comments
 (0)