-
Notifications
You must be signed in to change notification settings - Fork 94
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
multiple tags in a single yml file #23
Comments
I don't think image: ...
manifests:
...
---
image: ...
manifests:
... |
Yeah, makes total sense to use that as the way to support it. |
(A closely related feature I'd like is the ability to specify more than one image in the |
I was going to bring up the same thing in this issue depending on how the conversation went :). |
Yes please! This would be extremely helpful |
I am good with working through a PR, but I didn't want to start the effort if @estesp didn't want it. |
@glennc I'm fine with that--sounds reasonable! @tianon so basically you are looking for what effectively is a "tagging" option where instead of being limited to one tag on the target you want to be able to tag it with multiple tags, which effectively is another push (and I get you don't want to be redoing the lookups on the dependent images to effectively only be doing an additional tag operation) This came up in a recent conversation--that no other tools (other than something that interacts with manifest list entries) can tag your manifest list manifest object/sha, because the |
@estesp yeah -- I've got a group of images from multiple architectures which I need joined into a manifest list, and that final manifest list needs to be pushed to several tags on the Hub / registry For example, in the case of the |
I have the exact same scenario with our images. |
Friendly poke @estesp 🙏 😇 ❤️ |
This is actually even more of a problem than I first thought, since it needs to "mount" all the blobs of all the layers of all the images being included, which takes a significant amount of time (and in the case of the alias tag pushes, is 100% duplicate work). |
(On the plus side, though, it appears that pushing the exact same list of images twice results in the same digest, so at least there's that! 🤘) |
Yes.. somehow this missed my radar for that release I made last week. Let me think about how to represent additional tags in the yaml, as it really should be a different "action" (pretty sure I can tag the final digest using the registry API rather than acting like it is another push which will give you a huge speedup) |
I just realized the PR I have created deals with @tianon's use case but maybe not the originator's (@glennc)? The new feature in the YAML input is, after specifying the target
And the manifest list created by the rest of the YAML spec will be tagged with the default tag ("latest") or the one specified in the If that doesn't solve the original issue @glennc let me know! Of course @tianon will be happy either way :) |
In a single repo I want to setup multiple tags pointing to the same few base images. Something like this:
Is there a YAML format I am missing that would make this possible? Seems like I would need many different files to make it work right now. If there is no good way to do it I could propose some formats we would accept and do a PR. Though my Go skills are weak so it might be a painful PR process to begin with :).
The text was updated successfully, but these errors were encountered: