diff --git a/reference/reference.go b/reference/reference.go index 6f079cbb..bb09fa25 100644 --- a/reference/reference.go +++ b/reference/reference.go @@ -3,7 +3,7 @@ // // Grammar // -// reference := repository [ ":" tag ] [ "@" digest ] +// reference := name [ ":" tag ] [ "@" digest ] // name := [hostname '/'] component ['/' component]* // hostname := hostcomponent ['.' hostcomponent]* [':' port-number] // hostcomponent := /([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])/