peusebiu 1b184ceef8 fix(zb): fixed remote repositories cleanup (#1461)
fix(storage/local): also put deduped blobs in cache, not just origin blobs

this caused an error when trying to delete deduped blobs
from multiple repositories

fix(storage/s3): check blob is present in cache before deleting

this is an edge case where dedupe is false but cacheDriver is not nil
(because in s3 we open the cache.db if storage find it in rootDir)
it caused an error when trying to delete blobs uploaded with dedupe false

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-05-19 09:51:15 -07:00
2022-08-30 21:39:16 +03:00
2023-05-11 16:39:21 -07:00
2022-05-04 11:52:28 -07:00
2023-05-17 00:37:34 -07:00
2023-05-17 00:37:34 -07:00
2022-12-21 10:46:31 +02:00
2022-07-12 14:25:57 -07:00
2019-06-21 15:29:19 -07:00

zot build-test codecov.io Conformance Results CodeQL CII Best Practices Go Reference

zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!

Docs

Documentation for zot is located at: https://zotregistry.io

Code of Conduct

Details are in the code of conduct

Languages
Go 93.6%
Shell 5.8%
Makefile 0.4%