Developing for Cloud Build Stay organized with collections Save and categorize content based on your preferences.
Cloud Build enables you to continuously build and test your code anddeploy it on any target. You can develop your application in the programminglanguage of your choice and store the source code in any of the popular sourcecode management systems such as GitHub. This page describes the things to know toget started in developing an application to use with Cloud Build.
Supported programming language
Cloud Build allows you to write code in any programming language ofyour choice. For examples on building and testing applications, seeBuilding Java applications,Building Go applications,Building Python applications,andBuilding Node.js applications.
Build configuration file
To build your application using Cloud Build, you must provide a buildconfiguration file along with your application source code. The build config filecontains instructions for Cloud Build to perform tasks based on yourspecifications. You can write the build config file in YAML or JSON. Forinformation on the fields and schema of the build config file,seeBuild config overview. For instructions oncreating a simple build config file, seeCreate a basic build config file.
Supported source code repositories
Cloud Build integrates with a number of repositories such as GitHub,Bitbucket, and Gitlab. You can store your application source code in any ofthese repositories and use Cloud Build to automatebuilding, testing, and deploying your code. For instructions on connecting tovarious repositories, seeCreating GitHub app triggers,Building hosted repos on Bitbucket server,Building hosted repos on Bitbucket Cloud, andBuilding hosted repos on Gitlab.
You can alsospecify any Git repositories as dependenciesto your build, if those repositories are public or areconnected using Developer Connect.
Storing built artifacts
Artifact Registry is a Google Cloud service that enables you to centrally storeartifacts and build dependencies. You can useArtifact Registry in conjunctionwith Cloud Build tostore build artifacts. In addition to Artifact Registry, you can store artifactsin other storage systems such asCloud StorageandDocker.
Supported deployment platforms
Cloud Build supports deployments to most popular deployment platforms.For instructions on deploying to specific platforms, seeDeploying on Cloud Run,Deploying on Google Kubernetes Engine,Deploying on App Engine, andDeploying on Firebase.
What's next
- Once you have your source code and build config file, learn how to starta build usingCLI, API, orbuild triggers.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.