[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eCloud Build allows you to build, test, and deploy code written in any programming language and stored in popular source code management systems like GitHub.\u003c/p\u003e\n"],["\u003cp\u003eYou must provide a build configuration file, written in YAML or JSON, with your application source code to instruct Cloud Build on how to perform tasks.\u003c/p\u003e\n"],["\u003cp\u003eCloud Build integrates with repositories like GitHub, Bitbucket, and GitLab, enabling you to automate building, testing, and deploying your code.\u003c/p\u003e\n"],["\u003cp\u003eCloud Build can be used with Artifact Registry, Cloud Storage, Container Registry, and Docker to store built artifacts and dependencies.\u003c/p\u003e\n"],["\u003cp\u003eCloud Build supports deployments to various platforms, including Cloud Run, Google Kubernetes Engine, App Engine, and Firebase.\u003c/p\u003e\n"]]],[],null,["# Developing for Cloud Build\n\nCloud Build enables you to continuously build and test your code and\ndeploy it on any target. You can develop your application in the programming\nlanguage of your choice and store the source code in any of the popular source\ncode management systems such as GitHub. This page describes the things to know to\nget started in developing an application to use with Cloud Build.\n\nSupported programming language\n------------------------------\n\nCloud Build allows you to write code in any programming language of\nyour choice. For examples on building and testing applications, see\n[Building Java applications](/build/docs/building/build-java),\n[Building Go applications](/build/docs/building/build-go),\n[Building Python applications](/build/docs/building/build-python),\nand [Building Node.js applications](/build/docs/building/build-nodejs).\n\nBuild configuration file\n------------------------\n\nTo build your application using Cloud Build, you must provide a build\nconfiguration file along with your application source code. The build config file\ncontains instructions for Cloud Build to perform tasks based on your\nspecifications. You can write the build config file in YAML or JSON. For\ninformation on the fields and schema of the build config file,\nsee [Build config overview](/build/docs/build-config). For instructions on\ncreating a simple build config file, see\n[Create a basic build config file](/build/docs/configuring-builds/create-basic-configuration).\n\nSupported source code repositories\n----------------------------------\n\nCloud Build integrates with a number of repositories such as GitHub,\nBitbucket, and Gitlab. You can store your application source code in any of\nthese repositories and use Cloud Build to automate\nbuilding, testing, and deploying your code. For instructions on connecting to\nvarious repositories, see [Creating GitHub app triggers](/build/docs/automating-builds/create-github-app-triggers), [Building hosted repos on Bitbucket server](/build/docs/automating-builds/build-hosted-repos-bitbucket-server), [Building hosted repos on Bitbucket Cloud](/build/docs/automating-builds/build-hosted-repos-bitbucket-cloud), and [Building hosted repos on Gitlab](/build/docs/automating-builds/build-hosted-repos-gitlab).\n\nYou can also\n[specify any Git repositories as dependencies](/build/docs/building/manage-dependencies)\nto your build, if those repositories are public or are\n[connected using Developer Connect](/developer-connect/docs/connect-github-repo).\n\nStoring built artifacts\n-----------------------\n\nArtifact Registry is a Google Cloud service that enables you to centrally store\nartifacts and build dependencies. You can use [Artifact Registry in conjunction\nwith Cloud Build](/artifact-registry/docs/configure-cloud-build) to\nstore build artifacts. In addition to Artifact Registry, you can store artifacts\nin other storage systems such as [Cloud Storage](/build/docs/building/store-build-artifacts#store-artifact-storage)\nand [Docker](/build/docs/interacting-with-dockerhub-images#pushing_images_to_docker_hub).\n\nSupported deployment platforms\n------------------------------\n\nCloud Build supports deployments to most popular deployment platforms.\nFor instructions on deploying to specific platforms, see\n[Deploying on Cloud Run](/build/docs/deploying-builds/deploy-cloud-run),\n[Deploying on Google Kubernetes Engine](/build/docs/deploying-builds/deploy-gke),\n[Deploying on App Engine](/build/docs/deploying-builds/deploy-appengine), and\n[Deploying on Firebase](/build/docs/deploying-builds/deploy-firebase).\n\nWhat's next\n-----------\n\n- Once you have your source code and build config file, learn how to start a build using [CLI, API](/build/docs/running-builds/start-build-manually), or [build triggers](/build/docs/automating-builds/create-manage-triggers)."]]