code: func (n ImageName) RegistryURL() string {
  	reg := n.Registry
  	if reg == "" {
  		reg = defaultRegistry
  	}
  	return fmt.Sprintf("https://%s", reg)
  }
docs: // RegistryURL returns the deduced base URL of the registry for this image