mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
168d21da1e
Suppose we push two identical manifests (sharing same digest) but with different tags, then deleting by digest should throw an error otherwise we end up deleting all image tags (with gc) or dangling references (without gc) This behaviour is controlled via Authorization, added a new policy action named detectManifestsCollision which enables this behaviour Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com> Signed-off-by: Petu Eusebiu <peusebiu@cisco.com> Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com> |
||
---|---|---|
.. | ||
on_demand.go | ||
signatures.go | ||
sync.go | ||
sync_disabled_test.go | ||
sync_internal_test.go | ||
sync_test.go | ||
utils.go |