Skip to content

Commit

Permalink
Fix incorrect tag size limit (#760)
Browse files Browse the repository at this point in the history
A tag name must be valid ASCII and may contain lowercase and uppercase letters, digits, underscores, periods and dashes. A tag name may not start with a period or a dash and may contain a maximum of 128 characters.
  • Loading branch information
alexey-igrychev committed Sep 1, 2020
1 parent 4e3ad46 commit ded15ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/name/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (t Tag) Scope(action string) string {
}

func checkTag(name string) error {
return checkElement("tag", name, tagChars, 1, 127)
return checkElement("tag", name, tagChars, 1, 128)
}

// NewTag returns a new Tag representing the given name, according to the given strictness.
Expand Down

0 comments on commit ded15ea

Please sign in to comment.