Listing the Repositories in Artifact Registry
List the repositories in a specific compartment in Artifact Registry.
- Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Artifact Registry.
- Under List scope, choose the compartment that contains the repositories.
For each listed repository, view the following properties:
- Repository name
- Creation date and time
To list all the repositories in a specific compartment, use the
artifacts repositoryresource, referenced in Artifact Registry CLI.
Get all the commands for
oci artifacts repository -h
Get help for the
oci artifacts repository list -h
Find the options to provide for the
Get the list of repositories in a specific compartment:
oci artifacts repository list --compartment-id <compartment-OCID>
oci artifacts repository list --compartment-id ocid1.compartment.oc1..xxx...
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 true
Use the ListRepositories operation to list the repositories of a specified compartment.