Listing the Repositories in Artifact Registry
List the repositories in a specific compartment in Artifact Registry.
To list all the repositories in a specific compartment, use the
artifacts repositoryresource, referenced in Artifact Registry CLI.Get all the commands for
artifacts repository:oci artifacts repository -hGet help for the
listcommand:oci artifacts repository list -hFind the options to provide for the
listcommand:--compartment-idGet the list of repositories in a specific compartment:
oci artifacts repository list --compartment-id <compartment-OCID>Example:
oci artifacts repository list --compartment-id ocid1.compartment.oc1..xxx...Add Filters
You can add filters to narrow down the listed results.
Example: Only list the repositories that are immutable.
oci artifacts repository list --compartment-id <compartment-OCID> is-immutable trueUse the ListRepositories operation to list the repositories of a specified compartment.