Editing a Repository
Find out how to edit a repository in Container Registry.
Having created a repository in Container Registry, you can edit some of its properties. For example, for a standard repository, you might want to change access from private access to public access. For a pull-through cache repository, you can update the upstream username and upstream secret ID.
Your permissions control the repositories in Container Registry that you can edit (see Policies to Control Repository Access). You can edit repositories you've created, and repositories that the groups to which you belong have been granted access by identity policies. If you belong to the Administrators group, you can edit any repository in the tenancy.
Use the oci artifacts container repository update command and required parameters to edit repository properties:
oci artifacts container repository update --repository-id <repository-ocid> [OPTIONS]For example:
oci artifacts container repository update --repository-id ocid1.containerrepo.oc1.us-phoenix-1.0.ansh81vru1zp.aaaaaaaaswec83o... --is-public yesFor a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the UpdateContainerRepository operation to edit a repository.