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

bug: The flag --distribution-spec is not recognized by oras attach #771

Closed
1 task done
Wwwsylvia opened this issue Jan 30, 2023 · 1 comment
Closed
1 task done
Labels
bug Something isn't working

Comments

@Wwwsylvia
Copy link
Member

Wwwsylvia commented Jan 30, 2023

What happened in your environment?

The flag --distribution-spec is not recognized by oras attach while there are examples about the flag --distribution-spec in the help text.

Error message:

Error: unknown flag: --distribution-spec

image
image

What did you expect to happen?

The flag should work and should show up in the flag list.

How can we reproduce it?

oras attach --artifact-type $artifactType $dstRef $fileToAttach --distribution-spec v1.1-referrers-tag

What is the version of your ORAS CLI?

Version: 0.16.0+unreleased
Go version: go1.19.3
Git commit: 6e876c1

What is your OS environment?

Windows

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.
@Wwwsylvia Wwwsylvia added the bug Something isn't working label Jan 30, 2023
@Wwwsylvia Wwwsylvia changed the title The flag --distribution-spec is not recognized by oras attach bug: The flag --distribution-spec is not recognized by oras attach Jan 30, 2023
@shizhMSFT
Copy link
Contributor

Fixed by #772

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

No branches or pull requests

2 participants