Skip to content

Commit b5e110d

Browse files
authored
Merge pull request #341 from sudo-bmitch/pr-refers-must-accept
Registries MUST accept refers to unknown manifests
2 parents 69141b9 + 19e5fa5 commit b5e110d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Pushing an object typically works in the opposite order as a pull: the blobs mak
209209
A useful diagram is provided [here](https://github.com/google/go-containerregistry/tree/d7f8d06c87ed209507dd5f2d723267fe35b38a9f/pkg/v1/remote#anatomy-of-an-image-upload).
210210

211211
A registry MAY reject a manifest of any type uploaded to the manifest endpoint if it references manifests or blobs that do not exist in the registry.
212-
A registry SHOULD accept a manifest with a `refers` field that references a manifest that does not exist.
212+
A registry MUST accept an otherwise valid manifest with a `refers` field that references a manifest that does not exist, allowing clients to push a manifest and referrers to that manifest in either order.
213213
When a manifest is rejected for these reasons, it MUST result in one or more `MANIFEST_BLOB_UNKNOWN` errors <sup>[code-1](#error-codes)</sup>.
214214

215215
##### Pushing blobs

0 commit comments

Comments
 (0)