We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--format xxx
I want to
v1.1
latest
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.
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
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
v1.2.0-beta.1
ubuntu 20.04
The text was updated successfully, but these errors were encountered:
This also appears when --no-tty is specified
❯ oras push localhost:5000/test:v1.1,v1,latest --format json --no-tty Tagged latest Tagged v1 { "Ref": "localhost:5000/test@sha256:66155c4c560fde88581530eb81bd7e38ca8ceb9217b19931337a1526f8af24a3", "MediaType": "application/vnd.oci.image.manifest.v1+json", "Digest": "sha256:66155c4c560fde88581530eb81bd7e38ca8ceb9217b19931337a1526f8af24a3", "Size": 535, "Annotations": { "org.opencontainers.image.created": "2024-03-21T01:42:33Z" }, "ArtifactType": "application/vnd.unknown.artifact.v1" }
Sorry, something went wrong.
@sajayantony Tagged xxx is not part of terminal output and is expected to appear even with --no-tty.
Tagged xxx
--no-tty
qweeah
Successfully merging a pull request may close this issue.
What happened in your environment?
I want to
v1.1
latest
andv1
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.
How can we reproduce it?
Run below command with oras v1.2.0-beta.1 registry running at port 5000:
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?
The text was updated successfully, but these errors were encountered: