Merge pull request #8447 from burke/bump-tag-char-limit

Increase the tag length limit from 30 to 128
Upstream-commit: 60908acff6753a9a74cef011ca53d720997f019a
Component: engine
This commit is contained in:
Victor Vieux
2014-10-07 18:31:35 -07:00

View File

@ -19,7 +19,7 @@ import (
const DEFAULTTAG = "latest"
var (
validTagName = regexp.MustCompile(`^[\w][\w.-]{0,29}$`)
validTagName = regexp.MustCompile(`^[\w][\w.-]{0,127}$`)
)
type TagStore struct {