You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -454,7 +454,9 @@ Client and registry implementations SHOULD expect to be able to support manifest
454
454
455
455
###### Pushing Manifests with Subject
456
456
457
-
When pushing an image or artifact manifest with the `subject` field and the [referrers API](#listing-referrers) returns a 404, the client MUST:
457
+
When processing a request for an image or artifact manfiest with the `subject` field, a registry implementation that supports the [referrers API](#listing-referrers) MUST respond with the response header `OCI-Subject-Processed: true` to indicate to the client that the registry understands the request's `subject`.
458
+
459
+
When pushing an image or artifact manifest with the `subject` field and the [referrers API](#listing-referrers) returns a 404 or the `OCI-Subject-Processed: true` header was not set, the client MUST:
458
460
459
461
1. Pull the current referrers list using the [referrers tag schema](#referrers-tag-schema).
460
462
1. If that pull returns a manifest other than the expected image index, the client SHOULD report a failure and skip the remaining steps.
0 commit comments