Skip to content

push with multiple tags failed with TTY #1208

@qweeah

Description

@qweeah

What happened in your environment?

Got below error when pushing and tagging a manifest with oras push from a terminal

$ oras push localhost:7000/test:v1,v2
Uploading empty artifact
✓ Exists    application/vnd.oci.empty.v1+json                                                                         2/2  B 100.00%     0s 
  └─ sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
✓ Uploaded  application/vnd.oci.image.manifest.v1+json                                                            535/535  B 100.00%     0s
  └─ sha256:ccf0a406902c9820f6db75612fd2a9ed5ec928f971256d2e8091c1e7bb35ba0f
Pushed [registry] localhost:7000/test:v1
Error: failed to push content: progress output manager has already been stopped

What did you expect to happen?

Tagging should be successful.

How can we reproduce it?

Use oras push to push with multiple tags

What is the version of your ORAS CLI?

a377128

What is your OS environment?

Ubuntu 20.04

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions