设置 Cloud Build

本页面介绍了设置 Cloud Build 的步骤。如需了解 Cloud Build 的费用,请参阅价格

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  2. 确保您的 Google Cloud 项目已启用结算功能

  3. 启用所需的 API。

    启用 API

  4. 安装 Google Cloud CLI,然后通过运行以下命令初始化 Google Cloud CLI:

    gcloud init
  5. 如果您之前已安装了 gcloud CLI,请确保您使用的是最新的可用版本:

     gcloud components update