Skip to content

Commit

Permalink
Merge pull request #69 from /issues/68/wrong-tag-parsing
Browse files Browse the repository at this point in the history
Fix wrong tag name extraction
  • Loading branch information
ivanilves authored Oct 7, 2017
2 parents 0cc7eb0 + fba4f76 commit 134a2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func extractTagNames(repoTags []string, repo string) []string {
for _, tag := range repoTags {
if strings.HasPrefix(tag, repo+":") {
fields := strings.Split(tag, ":")
tagNames = append(tagNames, fields[1])
tagNames = append(tagNames, fields[len(fields)-1])
}
}

Expand Down

0 comments on commit 134a2f5

Please sign in to comment.