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
Update spec language to support issue #591, pushing multiple tags at once. Also can be used when pushing tags for a non-canonical algorithm (sha-512, blake3)
Signed-off-by: Jeff Carter <jeff.carter@docker.com>
Copy file name to clipboardExpand all lines: spec.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -472,6 +472,12 @@ The `<location>` is a pullable manifest URL.
472
472
The Docker-Content-Digest header returns the canonical digest of the uploaded blob, and MUST be equal to the client provided digest.
473
473
Clients MAY ignore the value but if it is used, the client SHOULD verify the value against the uploaded blob data.
474
474
475
+
When pushing a manifest by digest, the registry MAY support the pushing of tags specified by addition of `tag` query
476
+
parameters. If a registry supports this, it MUST:
477
+
478
+
1. Not limit the number of tags that can be pushed at once.
479
+
1. For each tag that was successfully pushed, nclude an `OCI-Tag` response header in accordance with [RFC 2616 (section 4.2)](https://datatracker.ietf.org/doc/html/rfc2616#section-4.2) semantics
480
+
475
481
An attempt to pull a nonexistent repository MUST return response code `404 Not Found`.
476
482
477
483
A registry SHOULD enforce some limit on the maximum manifest size that it can accept.
0 commit comments