Increase the tag length limit from 30 to 128

Signed-off-by: Burke Libbey <burke.libbey@shopify.com>
Upstream-commit: c95b0e02928e28c0bd5400b58b6ed043c1bbff23
Component: engine
This commit is contained in:
Burke Libbey
2014-10-07 11:29:47 -04:00
parent b1a8fc982d
commit 1c81511841
+1 -1
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 {