Uploading an Artifact in Artifact Registry

The method that you use to upload an artifact to Artifact Registry depends on the size of the artifact file.

File size less than 200 MB
  • Oracle Cloud Console (recommended)
  • OCI CLI in Cloud Shell
  • OCI CLI in a local environment
  • REST API
File size 200 MB to 4 GB
  • OCI CLI in Cloud Shell (recommended)
  • OCI CLI in a local environment
  • REST API
File size greater than 4 GB
  • OCI CLI in a local environment (recommended)
  • REST API
Tip

If an artifact file size is greater than 200 MB, you can't use the Console to upload that artifact, but you can copy the CLI command for uploading that artifact from the Console. To get a generated CLI command, see the following steps for uploading an artifact in the Console.