Skip to main content

registry_repositories_v2

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

Overview

Nameregistry_repositories_v2
TypeResource
Iddigitalocean.container_registry.registry_repositories_v2

Fields

NameDatatypeDescription
namestringThe name of the repository.
latest_manifestobject
manifest_countintegerThe number of manifests in the repository.
registry_namestringThe name of the container registry.
tag_countintegerThe number of tags in the repository.

Methods

NameAccessible byRequired ParamsDescription
registry_list_repositories_v2SELECTregistry_nameTo list all repositories in your container registry, send a GET request to /v2/registry/$REGISTRY_NAME/repositoriesV2.

SELECT examples

To list all repositories in your container registry, send a GET request to /v2/registry/$REGISTRY_NAME/repositoriesV2.

SELECT
name,
latest_manifest,
manifest_count,
registry_name,
tag_count
FROM digitalocean.container_registry.registry_repositories_v2
WHERE registry_name = '{{ registry_name }}';