Skip to content

oras tag cannot retag an artifact in OCI image layout #1304

Closed

Description

@qweeah

What happened in your environment?

$ oras tag root:test --oci-layout test1
Error: unable to add tag for 'root@test': invalid reference: missing registry or repository

What did you expect to happen?

Should tag test in folder root to test1

How can we reproduce it?

$ oras tag root@test --oci-layout test1

What is the version of your ORAS CLI?

oras v1.2.0-beta.1

What is your OS environment?

Ubuntu 20.04

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Mar 25, 2024
  2. added this to the v1.2.0 milestone on Mar 25, 2024
  3. qweeah commented on Mar 25, 2024

    @qweeah
    ContributorAuthor

    This can only be reproduced when the path of OCI image layout is not an absolute path

  4. removed
    triage
    on Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions