contentutil: add pull through cache for attestations chain resolve by tonistiigi · Pull Request #6435 · moby/buildkit (original) (raw)

tonistiigi

@tonistiigi

Currently attestation chains were always loaded directly from registry on each pull.

This adds cache capability to resolver so all the pulled manifests are first pulled to content store and kept there with GC labels references from the root manifest.

If blob or referrers request already exists in the content store then local response is used without registry requests.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

crazy-max

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})