-
Notifications
You must be signed in to change notification settings - Fork 185
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
Add ability to get the digests of repositories #806
Comments
This sounds good to me. Maybe we can use a flag like |
Unfortunately, there is no such an API for listing manifests of a repository in neither the docker registry v2 spec nor the OCI distribution spec. The manifest list API is vendor specific.
|
The full command is |
The
The problem with this is there is no formatting option to only print the sha and I think this would be hard for a customer to discover. Most people wouldn't think of looking for this command. |
@TerryHowe Is digest important if no filter is applied? e.g. I am asking because if it's not, then we can gracefully showing only one digest at the end of tag lists when filter is applied, and maybe verbose mode only |
@TerryHowe Can you help confirm whether we can close this issue since oras 1.0.0-rc.2 is able to 1) show what digest a tag is associated to and 2) list out other tags pointing to the same digest. E.g. In
|
#907 is what I wanted for this issue |
What is the version of your ORAS CLI
1.0.0
What would you like to be added?
Add the ability to list the digests for a repository similar to
oras repo tags
, but for digests. Also have the ability to look up a digest for a particular tag.Why is this needed for ORAS?
Digests are immutable, so they are more secure and deterministic. Often I want to get the digest of a particular version to be used for later installations, etc.
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: