code: func validateTag(rawRepo string) (string, error) {
  	_, err := reference.ParseNormalizedNamed(rawRepo)
  	if err != nil {
  		return "", err
  	}
  
  	return rawRepo, nil
  }
docs: // validateTag checks if the given image name can be resolved.