Increase the tag length limit from 30 to 128

Signed-off-by: Burke Libbey <burke.libbey@shopify.com>
This commit is contained in:
Burke Libbey
2014-10-07 11:29:47 -04:00
parent 7813f85e7d
commit c95b0e0292
+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 {