opencontainers / distribution-spec

OCI Distribution Specification
https://opencontainers.org
Apache License 2.0
781 stars 201 forks source link

Cleanup manifests after artifacts #462

Closed sudo-bmitch closed 9 months ago

sudo-bmitch commented 10 months ago

This avoids race conditions if the registry deletes the artifacts after the manifest is deleted.

Fixes #457.

sudo-bmitch commented 9 months ago

It works either way if the errors are ignored from the registry running a fast GC. This is resolved a better way by #479. Closing this PR in favor of that.