Skip to content
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

invent a way to refer to additional manifest annotations via a URI #366

Open
tych0 opened this issue Mar 25, 2021 · 0 comments
Open

invent a way to refer to additional manifest annotations via a URI #366

tych0 opened this issue Mar 25, 2021 · 0 comments

Comments

@tych0
Copy link
Member

tych0 commented Mar 25, 2021

Right now, we are using tools like containers/image to transport images and umoci copy viz. #359 will be awesome to use to replace this.

One problem we have with containers/image is that it can't refer to any annotations besides org.opencontainers.image.ref.name, so we end up adding lots of metadata there and parsing it with ugly hacks insteading using something more structured like e.g.additional annotations on the manifest tha
t org.opencontainers.image.ref.name points to.

What would be awesome is if we could select images based on some URI; for
example:

umoci copy "oci:myimage?com.cisco.product.version=x.y.z&com.example.other .annotation=foo" $dest, which would select all images that have both name == myimage and match the other annotations too.

We could add some flags like umoci copy oci:myimage --addl-annotation com.example.other.annotation=foo $dest, but it does seem useful to be able t
o refert to an image with a single URI.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant