Skip to content

Commit f271626

Browse files
committed
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>
1 parent 6bc8715 commit f271626

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

spec.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,12 @@ The `<location>` is a pullable manifest URL.
472472
The Docker-Content-Digest header returns the canonical digest of the uploaded blob, and MUST be equal to the client provided digest.
473473
Clients MAY ignore the value but if it is used, the client SHOULD verify the value against the uploaded blob data.
474474

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+
475481
An attempt to pull a nonexistent repository MUST return response code `404 Not Found`.
476482

477483
A registry SHOULD enforce some limit on the maximum manifest size that it can accept.

0 commit comments

Comments
 (0)