-
Notifications
You must be signed in to change notification settings - Fork 401
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
Build summary for ko resolve
#406
Comments
In theory all the information you want is available somewhere in the mass of output that
...but I agree it's not terribly useful. I'm a bit hesitant to call this better output a "BOM", because that term is quickly expanding to mean anything and everything anybody wants it to mean. 🙃 Are you envisioning some secondary yaml/json output in some file somewhere that you can post-process? It should live outside the current working directory, since that will likely pollute your Git workspace. Another similar idea is something like |
I am not big fan of the term BOM myself, so I would be more than happy to have some secondary YAML/JSON that contains the container images - brief and simple. Rational is that we want to properly sign container images that we build and we want to do that with all |
You can kinda do that today:
Do you also need where it was pushed? |
This looks great. I did not know that. If we could get the details where it was pushed to, it would be perfect. |
How do you want to use it? What should happen if the same image is pushed to multiple repositories or with multiple tags? Do you just want something like a map from very image reference that was pushed to its digest? |
The map sounds pretty good. Basically, what I am looking for is that if |
Definitely seems possible -- if we wanted to just reuse the index for this, we could add that map as annotations at the top level:
Maybe an abuse of annotations, but I think it's fine. This could also just be a completely separate document that doesn't require creating the OCI layout on disk... |
This issue is stale because it has been open for 90 days with no |
We do builds with
ko resolve
to have images and also a deployment YAML. However, we were wondering whether there would be an easy way to get a list of all images (and their digest) that are created as part of theresolve
run (without parsing the output). If not, would a command line flag, e.g.--bom
(bill of materials, or similar) an option? Thanks in advance for feedback.The text was updated successfully, but these errors were encountered: