Cloud Build 服務可在 Google Cloud基礎架構上執行建構作業。Cloud Build 可從 Cloud Storage、GitLab、GitHub 或 Bitbucket 匯入原始碼、依據您的規格執行建構,並產生 Docker 容器或 Java 封存檔案等成果。瞭解詳情
Cloud Build 會以一系列「建構步驟」執行建構,而每個建構步驟都會在 Docker 容器中執行。無論環境為何,您都可以透過建構步驟執行可從容器完成的操作。如要執行工作,您可以使用 Cloud Build 提供的支援建構步驟,也可以自行撰寫建構步驟。
使用價值 $300 美元的免費抵免額,開始進行概念驗證
-
取得 Gemini 2.0 Flash Thinking 的存取權
-
每月免費使用 AI API 和 BigQuery 等熱門產品
-
不會自動收費,也不會要求您一定要購買特定方案
繼續探索超過 20 項一律免費的產品
使用超過 20 項實用的免費產品,包括 AI API、VM 和 data warehouse 等。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-18 (世界標準時間)。
[[["容易理解","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-08-18 (世界標準時間)。"],[[["\u003cp\u003eCloud Build is a Google Cloud service that executes builds, importing source code from various repositories like Cloud Storage, GitLab, GitHub, or Bitbucket.\u003c/p\u003e\n"],["\u003cp\u003eBuilds in Cloud Build are executed as a series of steps, each running in a Docker container, allowing for versatile task execution.\u003c/p\u003e\n"],["\u003cp\u003eUsers can utilize pre-configured build steps provided by Cloud Build or create their own custom steps to suit their specific requirements.\u003c/p\u003e\n"],["\u003cp\u003eCloud Build provides numerous guides on key actions, such as building and pushing Docker images, deploying applications to Cloud Run, and automating builds.\u003c/p\u003e\n"],["\u003cp\u003eCloud Build includes resources for pricing, release notes, quotas, supported locations, billing questions, and getting support.\u003c/p\u003e\n"]]],[],null,["# Cloud Build documentation\n=========================\n\n[Read product documentation](/build/docs/overview)\nCloud Build is a service that executes your builds on Google Cloud\ninfrastructure. Cloud Build can import source code from\nCloud Storage, GitLab, GitHub, or Bitbucket, execute a\nbuild to your specifications, and produce artifacts such as Docker containers or\nJava archives. [Learn more](/build/docs/overview)\n\n\nCloud Build executes your build as a series of *build steps* , where\neach build step is run in a Docker container. A build step can do anything that\ncan be done from a container irrespective of the environment. To perform your\ntasks, you can either\n[use the supported build steps](/build/docs/configuring-builds/build-test-deploy-artifacts)\nprovided by Cloud Build or [write your own build steps](/build/docs/create-custom-build-steps).\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Quickstart: Build and push a Docker image with Cloud Build](/build/docs/build-push-docker-image)\n\n-\n\n [Quickstart: Deploy a containerized application to Cloud Run](/build/docs/deploy-containerized-application-cloud-run)\n\n-\n\n [Quickstart: Automate builds by using Cloud Build](/build/docs/automate-builds)\n\n-\n\n [Create a basic build configuration file](/build/docs/configuring-builds/create-basic-configuration)\n\n-\n\n [Create and manage build triggers](/build/docs/automating-builds/create-manage-triggers)\n\n-\n\n [Build container images](/build/docs/building/build-containers)\n\n-\n\n [Build Node.js applications](/build/docs/building/build-nodejs)\n\n-\n\n [Build Java applications](/build/docs/building/build-java)\n\n-\n\n [Deploy to Cloud Run](/build/docs/deploying-builds/deploy-cloud-run)\n\n-\n\n [Deploy to GKE](/build/docs/deploying-builds/deploy-gke)\n\nfind_in_page\n\n### Reference\n\n-\n\n [REST API](/build/docs/api/reference/rest)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/build/pricing)\n\n-\n\n [Release notes](/build/docs/release-notes)\n\n-\n\n [Quotas and limits](/build/quotas)\n\n-\n\n [Locations](/build/docs/locations)\n\n-\n\n [Billing questions](/build/docs/billing-questions)\n\n-\n\n [Getting support](/build/docs/getting-support)\n\nRelated videos\n--------------"]]