To push an OCI artifact to Artifactory with ORAS:
Run the following command:
oras push [JFrogPlatformURL]/<REPO_NAME>/<IMAGE>:<TAG> <ARTIFACT_FILE_NAME>
Where:
[JFrogPlatformURL]: The URL of your JPD, without the protocol schema<REPO_NAME>: The name of the target repository<IMAGE>: The image name in Artifactory<TAG>: The tags you want to apply to the image<ARTIFACT_FILE_NAME>: The local file you want to push to Artifactory
For example:
oras push company.jfrog.io/oci-local/froggy-app:v1.0.0 froggy-app.jsonNote
You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.