You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correctly store "canonical" image refs in containerd's image store
In other words, instead of `ubuntu:22.04`, we should store it as `docker.io/library/ubuntu:22.04` (which Docker then converts appropriately on `docker load`).
returnfmt.Errorf("failed to parse tag %q while updating image in containerd: %w", tag, err)
186
+
}
183
187
img:= images.Image{
184
-
Name: tag,
188
+
Name: ref.String(),
185
189
Target: manifestDescriptor,
186
190
}
187
191
img2, err:=is.Update(ctx, img, "target") // "target" here is to specify that we want to update the descriptor that "Name" points to (if this image name already exists)
0 commit comments