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
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,9 +190,12 @@ If the blob or manifest is not found in the registry, the response code MUST be
190
190
#### Push
191
191
192
192
Pushing an artifact typically works in the opposite order as a pull: the blobs making up the artifact are uploaded first,
193
-
and the manifest last. Strictly speaking, content can be uploaded to the registry in any order, but a registry MAY reject
194
-
a manifest if it references blobs that are not yet uploaded, resulting in a `BLOB_UNKNOWN` error <sup>[code-1](#error-codes)</sup>.
195
-
A useful diagram is provided [here](https://github.com/google/go-containerregistry/tree/d7f8d06c87ed209507dd5f2d723267fe35b38a9f/pkg/v1/remote#anatomy-of-an-image-upload).
193
+
and the manifest last. A useful diagram is provided [here](https://github.com/google/go-containerregistry/tree/d7f8d06c87ed209507dd5f2d723267fe35b38a9f/pkg/v1/remote#anatomy-of-an-image-upload).
194
+
195
+
A registry MAY reject an image manifest if it references blobs that are not yet uploaded, resulting in a `BLOB_UNKNOWN` error <sup>[code-1](#error-codes)</sup>.
196
+
197
+
A registry MAY reject an image index if it references digests that are not yet uploaded, resulting in a `MANIFEST_BLOB_UNKNOWN` error <sup>[code-5](#error-codes)</sup>.
0 commit comments