-
Notifications
You must be signed in to change notification settings - Fork 405
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
OCI images with annotations? #844
Comments
Oh I misread, I was thinking about Do you expect |
I'm not sure, I'll have to check... Just had it fail without anything set so far... I'll get back to you |
FWIW adding the annotation, and using a recent-enough ko version (it seems distroless.dev/ko didn't have #776) made it work out fine: https://github.com/srenatus/opa-x/blob/main/ko.bass. There, I'm just adding a "latest" ref name, because it's enough to make it work. |
This issue is stale because it has been open for 90 days with no |
Hello!
I'm trying to consume a ko-built OCI image from another tool, and that one depends on having a tag, i.e.
org.opencontainers.image.ref.name
in the annotations of the OCI archive.Having dug around a bit, that seems like it's not possible right now? I would have hoped that the
--tags
flag together with--oci-layout-path
would do the trick, but it doesn't seem to 🤔(See https://github.com/opencontainers/image-spec/blob/main/image-layout.md#indexjson-file)
The text was updated successfully, but these errors were encountered: