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.
ContainerRegistry
Docker images will be stored in multi-regional Container Registry
repositories named gcf.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eBuildConfig.Types.DockerRegistry\u003c/code\u003e is 1.7.0, with previous versions ranging from 1.0.0 to 1.6.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuildConfig.Types.DockerRegistry\u003c/code\u003e enum, part of the Cloud Functions v2 API, specifies where function Docker images are stored.\u003c/p\u003e\n"],["\u003cp\u003eThere are three available options for the \u003ccode\u003eDockerRegistry\u003c/code\u003e: \u003ccode\u003eArtifactRegistry\u003c/code\u003e, \u003ccode\u003eContainerRegistry\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eArtifactRegistry\u003c/code\u003e stores images in regional repositories (default name: \u003ccode\u003egcf-artifacts\u003c/code\u003e), while \u003ccode\u003eContainerRegistry\u003c/code\u003e uses multi-regional repositories named \u003ccode\u003egcf\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e option is for when a registry has not been specifically designated.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v2 API - Enum BuildConfig.Types.DockerRegistry (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.6.0/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.5.0/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.4.0/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.3.0/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.2.0/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.1.0/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.0.0/Google.Cloud.Functions.V2.BuildConfig.Types.DockerRegistry) \n\n public enum BuildConfig.Types.DockerRegistry\n\nReference documentation and code samples for the Cloud Functions v2 API enum BuildConfig.Types.DockerRegistry.\n\nDocker Registry to use for storing function Docker images.\n\nNamespace\n---------\n\n[Google.Cloud.Functions.V2](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V2.dll"]]