Skip to content

index with subject but contains no artifactType #1106

@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

Should we enforce the requirement on both fields like: if subject is presented, artifactType MUST be presented, otherwise the index is invalid?

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