Skip to content

config.RequireSchema2 is never set anywhere #41095

@markphelps

Description

@markphelps

Hi,

After doing a quick search, it seems that config.RequireSchema2 is never set anywhere, which means these cases will always evaluate to false: https://github.com/moby/moby/search?q=RequireSchema2&unscoped_q=RequireSchema2

It would be great if we could somehow set RequireSchema2 in order to prevent 'retry pushes' with a v1 manifest, to registries that dont support it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions