Skip to content

Commit c23cb08

Browse files
author
David Collom
committed
No need to parse image name as we get the platform/os when looking at the "Images"
1 parent ff25470 commit c23cb08

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/client/docker/docker.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ func (c *Client) Tags(ctx context.Context, _, repo, image string) ([]api.ImageTa
129129
tag.SHA = result.Digest
130130
}
131131

132-
// Attempt to get OS/Arch, from the Tag Name
133-
tag.OS, tag.Architecture = util.OSArchFromTag(result.Name)
134-
135132
for _, image := range result.Images {
136133
// Image without digest contains no real image.
137134
if len(image.Digest) == 0 {

0 commit comments

Comments
 (0)