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: docs/distribution/README.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -551,6 +551,8 @@ Partial config object, referring to the digest and tag of the `net-monitor:v1` c
551
551
"references": [
552
552
"registry.acme-rockets.com/net-monitor:v1"
553
553
]
554
+
}
555
+
}
554
556
```
555
557
556
558
**Pros with this approach:**
@@ -625,10 +627,10 @@ The following options are offered:
625
627
### Signature Discovery - Option 1: Signature Listing API
626
628
627
629
Similar to the [_tags api][tags-api], a new signatures API is proposed. The signatures API uses the digest as the path to find all signatures related to said digest.
628
-
In the below example, the `net-monitor:v1` tag has a digest of: `sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042`
630
+
In the below example, the `net-monitor:v1` tag has a digest of: `sha256:111ma2d22ae5ef400769fa51c84717264cd1520ac8d93dc071374c1be49a111m`
629
631
630
632
```HTTP
631
-
GET /v2/<name>/manifests/sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042/signatures/
633
+
GET /v2/<name>/manifests/sha256:111ma2d22ae5ef400769fa51c84717264cd1520ac8d93dc071374c1be49a111m/signatures/
632
634
```
633
635
634
636
The response will be in the following format:
@@ -637,16 +639,18 @@ The response will be in the following format:
The following are artifacts that represent a container image, or signature artifact. Depending on the example above, the signatures are represented as an oci manifest or oci index.
0 commit comments