code: func splitRepository(fullRepo string) (registry string, path string) {
  	parts := strings.Split(fullRepo, "/")
  
  	if len(parts) < 2 {
  		return "", parts[0]
  	}
  
  	if len(parts) == 2 {
  		return "", strings.Join(parts, "/")
  	}
  
  	return parts[0], strings.Join(parts[1:], "/")
  }
docs: // splitRepository splits a full docker repo into registry and path segments.