Updating a Repository in Artifact Registry
You can update a repository's name, description, or tags in Artifact Registry.
To update a repository's name, description, or tags use the
artifacts repositoryresource, referenced in Artifact Registry CLI.Get all the commands for
artifacts repository:oci artifacts repository -hGet help for the
updatecommand:oci artifacts repository update -hFind the options for the
updatecommand:--repository-id[required]--repository-type[required]--display-name(optional)--description(optional)--freeform-tags(optional)--defined-tags(optional)
Update a repository:
oci artifacts repository update --repository-id <repository-OCID> --repository-type GENERIC --display-name <repo-new-name> --description <new-description> --freeform-tags <key-value-pair> --defined-tags <tags-predefined-for-tenancy-namespace>Example:
oci artifacts repository update --repository-id ocid1.artifactrepository.oc1..xxx... --repository-type GENERIC --display-name <new-repo-name> --description <new-description>Note
You don't need to update all the optional fields. You can leave out optional fields such as--freeform-tagsfrom yourupdatecommand.Use the UpdateRepository operation to update a specific repository.