-
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
--output type=oci,tar=false
produces inconsistent (and invalid 😬) annotations
#5572
Comments
I was trying to read that part, but I didn't see "comma-separated" there; do you mean it's current doing comma-separated (but shouldn't) or does the OCI spec define that it should use comma-separated values here? (if it's the latter; I'm wondering if there's some upper-bound, as I could imaging that list could be .... really long (multiplied by long references) |
Sorry, it should not use commas (ie, the tar output is correct and valid with duplicated "manifests" entries for multiple tags):
|
Ah, thanks! Sorry I was perhaps a bit slow on grasping on this one ❤ |
In short,
--output type=oci
and--output type=oci,tar=false
produce inconsistent results with respect to annotations, and theorg.opencontainers.image.ref.name
value in the latter case is invalid ("SHOULD", yeah, fair) according to the OCI spec (comma-separated multiple values):Reproducer:
Related issues:
--output type=docker,tar=true
andtar=false
create different files #5559The text was updated successfully, but these errors were encountered: