fix extended tag names (#171)

This commit is contained in:
Patrick Devine 2023-07-21 20:27:25 -07:00 committed by GitHub
parent b8421dce3d
commit 3b43cc019a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ func ParseModelPath(name string) ModelPath {
return ModelPath{} return ModelPath{}
} }
colonParts := strings.Split(name, ":") colonParts := strings.Split(slashParts[len(slashParts)-1], ":")
if len(colonParts) == 2 { if len(colonParts) == 2 {
tag = colonParts[1] tag = colonParts[1]
} else { } else {