What happened in your environment?
I want to
- push an artifact to localhost:5000/test with tag
v1.1
- tag the pushed artifact with
latest and v1
$ oras push localhost:5000/test:v1.1,v1,latest --format {{.Ref}} --no-tty
Tagged latest
Tagged v1
localhost:5000/test@sha256:0e0e404fe40f2409b1964272434fbe3b9293f262fd62f90ab9df49d54579818e
The output contains both tagging log and digest reference of pushed artifact.
What did you expect to happen?
The output should only contain digest reference of pushed artifact.
$ oras push localhost:5000/test:v1.1,v1,latest --format {{.Ref}} --no-tty
localhost:5000/test@sha256:0e0e404fe40f2409b1964272434fbe3b9293f262fd62f90ab9df49d54579818e
How can we reproduce it?
Run below command with oras v1.2.0-beta.1 registry running at port 5000:
oras push localhost:5000/test:v1.1,v1,latest --format {{.Ref}} --no-tty
What is the version of your ORAS CLI?
v1.2.0-beta.1
What is your OS environment?
ubuntu 20.04
Are you willing to submit PRs to fix it?
What happened in your environment?
I want to
v1.1latestandv1The output contains both tagging log and digest reference of pushed artifact.
What did you expect to happen?
The output should only contain digest reference of pushed artifact.
How can we reproduce it?
Run below command with oras v1.2.0-beta.1 registry running at port 5000:
oras push localhost:5000/test:v1.1,v1,latest --format {{.Ref}} --no-ttyWhat is the version of your ORAS CLI?
v1.2.0-beta.1
What is your OS environment?
ubuntu 20.04
Are you willing to submit PRs to fix it?