Skip to content

question regarding index with subject but without artifactType #458

@qweeah

Description

@qweeah

OCI image spec 1.1.0-rc4 allows image index to have subject(updated in this commit) and artifactType(update in this commit). Since both fields are optional, it's possible that user can push an index with subject but no artifactType like below.

flowchart
index --subject--> image
Loading

My questions is: should such index be considered as valid when being pushed? If yes,

  1. When Referrers API is enabled and user is trying to get the referrers of image, should the descriptor of index be included in the returned value of Referrers API?
  2. When Referrers API is not enabled, client need to add a descriptor to the referrers index, what should the artifactType be in the newly added descriptor? Distribution-spec 1.1.0 rc3 only covers image referrer but not mentioning index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions