-
Notifications
You must be signed in to change notification settings - Fork 30
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
Integrate fetching of multi-platform image digests into the action #90
Comments
@rcdailey, I think I've found a pretty reliable and cheap way of fetching digests. Just wanted to check with you whether this output looks informative enough for your use-case?
Debug logs show which tags have 0 associated digests, and which SHAs are kept because of found associations, while we use info logs to show the aggregate counts for the tags with associated digests. I feel like this should give a good macro view of what's going on for info-logging, while debug offers enough details to understand the rest. Any suggestions for improvements? |
Thank you for getting back with me so quickly. I have a couple of follow up notes/questions, just to make sure I understand the logs correctly.
I hope that helps. |
Great!
It's the difference between this:
and this:
Multi-platform images seem to be of the media type
Since we do fetch every single package version available for selected packages, we could exhaustively fetch the manifest for every single package version with a tag, and then use the information there to filter out other package versions that are found to be associated with those manifests. Then I guess it's important that we:
Does that seem right to you? I think we could then get away with just using
If we do the cataloguing of all tags and associated images, then I think it would be possible to add more information about which image belongs to which multi-platform image to this output 👍 Maybe we could do something like this?
|
Your explanation helps a lot; thank you. This confirms that I had the right understanding. I've sadly been unware of how multi-platform images (and even "regular" images) are represented internally; so these conversations have helped a lot!
I think this 100% represents what I am expecting. I think this also 100% addresses my concerns with unwanted behavior by using the retention action.
I think this looks much much better. I think even in the
I think all roads should lead to a tag, except if that image is truly orphaned (not mentioned by any manifest you're able to obtain for any known tag). I think we probably need a |
Issue for tracking the progress of "real" multi-platform image support, as outlined in #78 (comment).
The text was updated successfully, but these errors were encountered: