// GetRepositoryFromPath returns the Docker registry repository
GetRepositoryFromPath returns the Docker registry repository
// GetRepositoryFromPath returns the Docker registry repository
func GetRepositoryFromPath(path string) string {
	parts := strings.Split(path, "/")
	if len(parts) < 5 {
		return ""
	}
	parts = parts[2 : len(parts)-2]
	return strings.Join(parts, "/")
}
func GetRepositoryFromPath ( path string ) string { parts := strings . Split ( path , " " ) if len ( parts ) < 5 { return " " } parts = parts [ 2 : len ( parts ) - 2 ] return strings . Join ( parts , " " ) }
GetRepositoryFromPath returns the Docker registry repository
GetRepositoryFromPath returns the Docker registry repository