Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Mit Cloud Build können Sie Code kontinuierlich erstellen, testen und für jedes Ziel bereitstellen. Sie können Ihre Anwendung in einer Programmiersprache Ihrer Wahl entwickeln und den Quellcode in einem der gängigen Quellcode-Verwaltungssysteme wie GitHub speichern. Auf dieser Seite werden die Dinge beschrieben, die Sie für die ersten Schritte bei der Entwicklung einer Anwendung für die Verwendung mit Cloud Build wissen müssen.
Wenn Sie eine Anwendung mit Cloud Build erstellen möchten, müssen Sie neben Ihrem Anwendungsquellcode eine Build-Konfigurationsdatei bereitstellen. Die Build-Konfigurationsdatei enthält Anweisungen, die Cloud Build zur Ausführung von Aufgaben gemäß Ihren Spezifikationen verwendet. Sie können die Build-Konfigurationsdatei in YAML oder JSON schreiben. Informationen zu den Feldern und dem Schema der Build-Konfigurationsdatei finden Sie in der Übersicht zur Build-Konfiguration. Anleitungen zum Erstellen einer einfachen Build-Konfigurationsdatei finden Sie unter Einfache Build-Konfigurationsdatei erstellen.
Artifact Registry ist ein Google Cloud Dienst, mit dem Sie Artefakte zentral speichern und Abhängigkeiten erstellen können. Sie können Artifact Registry in Verbindung mit Cloud Build verwenden, um Build-Artefakte zu speichern. Zusätzlich zu Artifact Registry können Sie Artefakte in anderen Speichersystemen wie Cloud Storage und Docker speichern.
Sobald Sie Ihren Quellcode und die Build-Konfigurationsdatei haben, können Sie lernen, wie Sie einen Build mit der Befehlszeile, API oder Build-Triggern starten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\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)."]]