Skip to main content

registry_repositories

Creates, updates, deletes, gets or lists a registry_repositories resource.

Overview

Nameregistry_repositories
TypeResource
Iddigitalocean.container_registry.registry_repositories

Fields

NameDatatypeDescription
namestringThe name of the repository.
latest_tagobject
registry_namestringThe name of the container registry.
tag_countintegerThe number of tags in the repository.

Methods

NameAccessible byRequired ParamsDescription
registry_list_repositoriesSELECTregistry_nameThis endpoint has been deprecated in favor of the List All Container Registry Repositories [V2] endpoint. To list all repositories in your container registry, send a GET request to /v2/registry/$REGISTRY_NAME/repositories.

SELECT examples

This endpoint has been deprecated in favor of the List All Container Registry Repositories [V2] endpoint. To list all repositories in your container registry, send a GET request to /v2/registry/$REGISTRY_NAME/repositories.

SELECT
name,
latest_tag,
registry_name,
tag_count
FROM digitalocean.container_registry.registry_repositories
WHERE registry_name = '{{ registry_name }}';