Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task
qweeah opened this issue Mar 25, 2024 · 1 comment · Fixed by #1303
Closed
1 task

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

qweeah opened this issue Mar 25, 2024 · 1 comment · Fixed by #1303
Labels
bug Something isn't working
Milestone

Comments

@qweeah
Copy link
Contributor

qweeah commented Mar 25, 2024

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.
@qweeah qweeah added bug Something isn't working triage New issues or PRs to be acknowledged by maintainers labels Mar 25, 2024
@qweeah qweeah added this to the v1.2.0 milestone Mar 25, 2024
@qweeah
Copy link
Contributor Author

qweeah commented Mar 25, 2024

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

@qweeah qweeah removed the triage New issues or PRs to be acknowledged by maintainers label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant