Closed frysztak closed 2 years ago
wow, that was quick. thanks! however, it now seems to return manifest size rather than sum of layer sizes. to fetch those, you need to do another call API with image digest as tag
. for example, for amd64 image: https://ghcr.io/v2/frysztak/orpington-news/manifests/sha256:0d73ad2cd04d706bd51cfb5e5025050f2722d87d8b361db1d3503420baf52313
Correct?
yes! thanks :tada:
I have an image (
frysztak/orpington-news
) built for both amd64 and arm64. badge returns size 0:I think that happens because GHCR API returns the following when querying for manifest:
and
generate.py
expects it to be a"mediaType": "application/vnd.docker.distribution.manifest.v2+json"