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

Migrate image.Digest to ociremote.ResolveDigest. #760

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

mattmoor
Copy link
Member

The only thing left in pkg/image was Digest, which potentially hits remote.Get.

This change introduces ociremote.ResolveDigest, which is similar, but takes our options and returns a name.Digest instead of a v1.Hash.

Signed-off-by: Matt Moore [email protected]

Ticket Link

Related: #666

Release Note

NONE

@mattmoor mattmoor force-pushed the retire-image-dot-digest branch from 092128a to 89ee7d4 Compare September 22, 2021 23:18
The only thing left in `pkg/image` was `Digest`, which potentially hits `remote.Get`.

This change introduces `ociremote.ResolveDigest`, which is similar, but takes our options and returns a `name.Digest` instead of a `v1.Hash`.

Related: sigstore#666
Signed-off-by: Matt Moore <[email protected]>
@mattmoor mattmoor force-pushed the retire-image-dot-digest branch from 89ee7d4 to 6cc3986 Compare September 22, 2021 23:19
@dekkagaijin dekkagaijin merged commit 2474b54 into sigstore:main Sep 22, 2021
@github-actions github-actions bot added this to the v1.3.0 milestone Sep 22, 2021
@mattmoor mattmoor deleted the retire-image-dot-digest branch September 23, 2021 00:09
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.

2 participants