dockerRegistry property

String? dockerRegistry
getter/setter pair

Docker Registry to use for this deployment.

This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If unspecified, it defaults to ARTIFACT_REGISTRY. If docker_repository field is specified, this field should either be left unspecified or set to ARTIFACT_REGISTRY. Possible string values are:

  • "DOCKER_REGISTRY_UNSPECIFIED" : Unspecified.
  • "CONTAINER_REGISTRY" : Docker images will be stored in multi-regional Container Registry repositories named gcf.
  • "ARTIFACT_REGISTRY" : Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named gcf-artifacts in every region in which a function is deployed. But the repository to use can also be specified by the user using the docker_repository field.

Implementation

core.String? dockerRegistry;