Skip to content

Commit

Permalink
Update spec.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Johnson <[email protected]>
Signed-off-by: Josh Dolitsky <[email protected]>
  • Loading branch information
jdolitsky and jonjohnsonjr authored Apr 13, 2023
1 parent b1f810e commit c6e8f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ When pushing a manifest with the `subject` field and the [referrers API](#listin
1. If the tag returns a 404, the client MUST begin with an empty image index.
1. Verify the descriptor for the manifest is not already in the referrers list (duplicate entries SHOULD NOT be created).
1. Append a descriptor for the pushed manifest to the manifests in the referrers list.
The value of the `artifactType` MUST be set to the `artifactType` value in the image manifest.
The value of the `artifactType` MUST be set to the `artifactType` value in the image manifest, if present.
If the `artifactType` is empty or missing in the image manifest, the value of `artifactType` MUST be set to the config descriptor `mediaType` value.
All annotations from the image manifest MUST be copied to this descriptor.
1. Push the updated referrers list using the same [referrers tag schema](#referrers-tag-schema).
Expand Down

0 comments on commit c6e8f6e

Please sign in to comment.