Skip to content

Commit 6fac8cd

Browse files
committed
Resolve if containerStatusImageSHA gives us a parent of childSHA we still resolve back the right tag
1 parent c23cb08 commit 6fac8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (v *Version) ResolveSHAToTag(ctx context.Context, imageURL string, imageSHA
8686
tags := tagsI.([]api.ImageTag)
8787

8888
for i := range tags {
89-
if tags[i].SHA == imageSHA {
89+
if tags[i].MatchesSHA(imageSHA) {
9090
return tags[i].Tag, nil
9191
}
9292
}

0 commit comments

Comments
 (0)