ORAS is a client for working with OCI artifacts and registries.
To configure ORAS to work with Artifactory, log in using the following command:
Note
Make sure to replace the placeholder in bold with your own JFrog host domain.
docker login <YOUR_JFROG_DOMAIN>
For example:
docker login my-awesome.jfrog.io
Push OCI Resources Using WASM to OCI
To push WASM to OCI resources to Artifactory, use the following command:
Note
Make sure to replace the placeholders in bold with your own WASM file, JFrog host domain, desired repository path, WASM file, and tag.
wasm-to-oci push <WASM_FILE> <YOUR_JFROG_DOMAIN>/<REPOSITORY>/<PACKAGE>:<TAG>
For example:
wasm-to-oci push mypackage.wasm my-awesome.jfrog.io/myproject-oci-remote/myociimage:latest
Pull OCI Resources using WASM to OCI
To push WASM to OCI resources to Artifactory, use the following command:
Note
Make sure to replace the placeholders in bold with your own JFrog host domain, desired repository path, WASM file, and tag.
wasm-to-oci pull <YOUR_JFROG_DOMAIN>/<REPOSITORY>/<PACKAGE>:<TAG>
For example:
wasm-to-oci pull my-awesome.jfrog.io/myproject-oci-remote/myociimage:latest