Listing Artifacts in Artifact Registry
List the artifacts of a specific repository in Artifact Registry.
To list all the artifacts of a repository, use the
artifacts generic artifact
resource, referenced in Artifact Registry CLI.Get all the commands for
artifacts generic artifact
:oci artifacts generic artifact -h
Get help for the
list
command:oci artifacts generic artifact list -h
Find the required options for the
list
command:--compartment-id
--repository-id
Get the list of artifacts in a specific repository:
oci artifacts generic artifact list --compartment-id <compartment-OCID> --repository-id <repository-OCID>
Example:
oci artifacts generic artifact list --compartment-id <compartment-OCID> ocid1.compartment.oc1..xxx... --repository-id ocid1.artifactrepository.oc1..xxx...
Use the ListGenericArtifacts operation to list the artifacts of a specific repository.