-
Notifications
You must be signed in to change notification settings - Fork 99
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
Support copy of images and associated references #29
Milestone
Comments
|
From a library perspective I think enabling regex/re2 support might all that is needed. CLI and other consumers can decided to expose or hide the complexity of accepting just strings or raw patterns. |
CLI issue is captured here - oras-project/oras#307 |
Closed
Closed
This was referenced Jun 27, 2022
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current copy implementation moves a source artifact to a target. The library needs to support moving references to support the following options
artifactType=sbom/example
Examples
Copy with specific references, included
Copy with specific references, excluded
Copy with specific references, included, filtered by annotation (inclusion)
oras cp registry.wabbit-networks.io/net-monitor:v1 \ -r \ -m application/vnd.cncf.notary.v2 \ --match-annotation "org.cncf.notary.v2.signature.subject=acme-rockets.io"
Copy with specific references, included, filtered by annotation (exclusion)
oras cp registry.wabbit-networks.io/net-monitor:v1 \ -r \ -m application/vnd.cncf.notary.v2 \ --exclude-annotation "org.cncf.notary.v2.signature.subject=wabbit-networks.io"
The text was updated successfully, but these errors were encountered: