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 docker_repository field is specified, this field will be automatically set as ARTIFACT_REGISTRY. If unspecified, it currently defaults to CONTAINER_REGISTRY. This field may be overridden by the backend for eligible deployments. 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;