kubebb / core

A declarative component lifecycle management platform
https://kubebb.github.io/website
Apache License 2.0
8 stars 9 forks source link

OCI component cant get digest #252

Closed Abirdcfly closed 1 year ago

Abirdcfly commented 1 year ago
          OCI component cant get digest can be fixed by other pr.

Originally posted by @Abirdcfly in https://github.com/kubebb/core/issues/224#issuecomment-1669292089

Henry-Gao-2004 commented 1 year ago

I found two ways that might allow us to get the digest:

skopeo inspect: skopeo uses a lot of methods that are not exported, and it can be hard to write our own code.

helm registry/oras: oras also uses some local variables and methods. When I try to use the method to get the digest, an error "object required" is returned.

Can I know if I can try to fix this issue?

Abirdcfly commented 1 year ago

Can I know if I can try to fix this issue?

Of course, you're welcome, so feel free to try it out.

Henry-Gao-2004 commented 1 year ago

Of course, you're welcome, so feel free to try it out.

Thank you! I will try my best to solve it!