mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 05:28:07 +08:00
09de471774
Require blob files to follow standard OCI image layout: rootDir/repo/blobs/algorithm/digest - Validate grandparent directory is ImageBlobsDir - Validate parent directory is valid digest algorithm - Update tests to use standard OCI structure - Add blobPath() helper to reduce duplication and fix linting This should reduce the number of uneeded digest computations if other non-oci specific files are present in the layout. Fix also a race condition when picking ports in monitoring tests. Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>