working commit

This commit is contained in:
2026-03-10 15:16:24 +02:00
parent 338638337d
commit f85cda868a
2 changed files with 12 additions and 11 deletions
+6 -1
View File
@@ -20,7 +20,12 @@ func (down *Loader) Push(ctx context.Context, rawref, dir, osname, arch string)
}
index := imager.Index()
for _, descr := range index.Manifests {
_, _, mandata, err := imager.ReadManifest(ctx, descr.Digest.Encoded())
digstr := descr.Digest.String()
_, _, mandata, err := imager.ReadManifest(ctx, digstr)
if err != nil {
return err
}
man := &ocispec.Manifest{}
err = json.Unmarshal(mandata, man)
if err != nil {