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 push fails when multiple tags are provided #849

Closed
1 task done
qweeah opened this issue Mar 2, 2023 · 0 comments · Fixed by #850
Closed
1 task done

oras push fails when multiple tags are provided #849

qweeah opened this issue Mar 2, 2023 · 0 comments · Fixed by #850
Labels
bug Something isn't working

Comments

@qweeah
Copy link
Contributor

qweeah commented Mar 2, 2023

What happened in your environment?

oras push localhost:5000/test:a,b image
Error: invalid reference: invalid tag

What did you expect to happen?

Should successfully pushed the image.

oras-test push localhost:5000/test:a,b image
Uploading e3b0c44298fc image
Uploaded  e3b0c44298fc image
Pushed [registry] localhost:5000/test:a
Tagged b
Digest: sha256:eaa3bcd4220bdaa91717c3fe84aff9e99f30489d7cee47afac84b85da8767c55

How can we reproduce it?

Run below command:

oras push localhost:5000/test:a,b image

What is the version of your ORAS CLI?

Version: 1.0.0-rc.1
Go version: go1.19.5
Git commit: a98931b
Git tree state: clean

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 the bug Something isn't working label Mar 2, 2023
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