-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix invalid index.json annotations on tar=false export #5589
Conversation
7c1309b
to
cb43103
Compare
5906c86
to
3dab3f3
Compare
cc @tianon Note that this is client-side fix. In order for this to change in buildx, vendor of buildkit needs to be updated there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 suggestion.
@@ -15,6 +17,8 @@ import ( | |||
const ( | |||
// lockFileSuffix is the suffix of the lock file | |||
lockFileSuffix = ".lock" | |||
|
|||
annotationImageName = "io.containerd.image.name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constant can be used https://github.com/containerd/containerd/blob/v2.0.1/core/images/annotations.go#L22
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to create a containerd dependency to this well-contained utility pkg.
Needs rebase |
Signed-off-by: Tonis Tiigi <[email protected]>
Previous implementation mixed tags and names and added invalid comma-separated reference annotation. Signed-off-by: Tonis Tiigi <[email protected]>
3dab3f3
to
01cf0c6
Compare
fixes #5572