feature(oci): use local index as resolution cache when appropriate, fixes #289

This commit is contained in:
Alex Zenla
2024-07-31 15:59:02 -07:00
parent 146bda0810
commit f8d17e7473
9 changed files with 72 additions and 5 deletions

View File

@ -50,7 +50,7 @@ async fn main() -> Result<()> {
let (context, _) = OciProgressContext::create();
let service = OciPackerService::new(None, &cache_dir, platform).await?;
let packed = service
.request(image.clone(), OciPackedFormat::Tar, false, context)
.request(image.clone(), OciPackedFormat::Tar, false, true, context)
.await?;
let annotations = packed
.manifest