func GetImageAndTag()

in pkg/docker.go [53:59]


func GetImageAndTag(repoTag string) (string, string, error) {
	imageAndTag := strings.Split(repoTag, ":")
	if len(imageAndTag) != 2 {
		return "", "", fmt.Errorf("divisor ':' not found in RepoTag %v", repoTag)
	}
	return imageAndTag[0], imageAndTag[1], nil
}