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

feat: Output the image id of an oci_load target. #715

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gonzojive
Copy link

Not the most elegant starlark, so this is a draft not meant for review, but it demos how to compute the image id.

Fixes #617

@thesayyn
Copy link
Collaborator

Thank you, nice to see you again :)

We'd want this to be subtarget that simply uses jq rule, also this is a breaking change since it adds more fields to defaultinfo which will break people who are using $(location) etc.

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

Successfully merging this pull request may close these issues.

FR: oci_tarball should have a .digest target that gives imageid which would match the daemon.
2 participants