Skip to content

add document for escaping file references in oras CLI #134

@qweeah

Description

@qweeah

Code of Conduct

What part of document/web-page on oras.land is affected?

oras CLI uses colon : as a delimiter of file path and media type in the file reference. If a file reference 1) doesn't contain mediatype and 2) file path contains colon, user should add colon at the end of reference.

# file path: my.file
# media type: file.media.type
oras push $REG/$REPO:$TAG my.file:file.media.type


# file path: my:file
# media type:N/A
oras push $REG/$REPO:$TAG my:file:

Additional comments?

This should be documented in oras.land so oras user can find 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