Skip to content

Commit 6864757

Browse files
jedevctonistiigi
authored andcommitted
docs: index annotations fail if index is not produced
Signed-off-by: Justin Chadwell <[email protected]> (cherry picked from commit 49c848e)
1 parent dc338bf commit 6864757

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/annotations.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,12 @@ write to the following `<type>`s:
4343
- The `manifest` (the default, as above)
4444
- The `manifest-descriptor`
4545
- This adds the annotation into the image index's descriptor for the manifest
46-
- (discarded if the output does not contain an image index)
4746
- The `index`
4847
- This adds the annotation into the image index root
49-
- (discarded if the output does not contain an image index)
48+
- If the exporter does not produce an image index, the build will fail.
5049
- The `index-descriptor`
5150
- This adds the annotation into the OCI layout's descriptor for the index
52-
- (discarded if the output does not contain an OCI layout)
51+
- If the exporter does not produce an image index, the build will fail.
5352

5453
For example, if you want to add the annotation at the image index level, so
5554
that the annotation is shared between all architectures, you can instead:

0 commit comments

Comments
 (0)