tazjin / nixery

Container registry which transparently builds images using the Nix package manager. Canonical repository is https://cs.tvl.fyi/depot/-/tree/tools/nixery
https://nixery.dev/
Apache License 2.0
1.8k stars 67 forks source link

Pulling image with specific digest does not work #87

Closed eonpatapon closed 3 years ago

eonpatapon commented 4 years ago

I'm working with a CI that regularly checks the state of an image+tag on the registry (by pulling / or inspect) and stores the digest of the image.

When the digest of the image changes it will download the new image using the image@sha256:... reference. However nixery doesn't support it.

Nixery could cache the manifest using the digest as the key for any image build. That way it should be pretty easy to serve images using image@sha256:... references.

tazjin commented 3 years ago

This was fixed by #105.