moby / buildkit

concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
https://github.com/moby/moby/issues/34227
Apache License 2.0
7.83k stars 1.09k forks source link

ociLayoutResolver.info: remove use of reference.SplitObject #5095

Closed thaJeztah closed 4 days ago

thaJeztah commented 4 days ago

We already have a reference.Spec and reference.Spec.Digest() does exactly this. In addition, buildkit was the only external consumer of the reference.SplitObject function, and it may be deprecated and removed for containerd 2.0.