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 --to-distribution-spec does not work with oras copy #770

Closed
1 task done
Wwwsylvia opened this issue Jan 30, 2023 · 0 comments · Fixed by #772
Closed
1 task done

bug: The flag --to-distribution-spec does not work with oras copy #770

Wwwsylvia opened this issue Jan 30, 2023 · 0 comments · Fixed by #772
Labels
bug Something isn't working

Comments

@Wwwsylvia
Copy link
Member

Wwwsylvia commented Jan 30, 2023

What happened in your environment?

When using the flag --to-distribution-spec v1.1-referrers-tag with oras copy, I expect a referrers tag to be created in my target registry. However, the flag does not take effect and the referrers tag is not created.

What did you expect to happen?

Referrers tag schema is enforced, and a referrers tag is created in the target registry.

How can we reproduce it?

oras copy -r $srcRegistry $dstRegistry --to-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 --to-distribution-spec does not work with oras copy bug: The flag --to-distribution-spec does not work with oras copy Jan 30, 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