gardenlinux / python-gardenlinux-lib

Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames
0 stars 0 forks source link

get manifest by digest does not work for GHCR #20

Closed Vincinator closed 3 months ago

Vincinator commented 3 months ago

oras python get_blob sends a request to /v2/<name>/blobs/<digest> endpoint for a given digest. The digest exists, but the api returns a 404 when requesting this resource.

I suspect that manifests can not be downloaded with /v2/<name>/blobs/<digest> endpoint, and must be downloaded from /v2/<name>/manifests/<reference> . Tests with zot oci-registry work, I only observed this against GHCR.io

Vincinator commented 3 months ago

fixed by gardenlinux/gl-oci#23