設定 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. Verify that billing is enabled for your Google Cloud project.

  3. Enable the required API.

    Enable the API

  4. 安裝 Google Cloud CLI。 安裝完成後,執行下列指令初始化 Google Cloud CLI:

    gcloud init

    如果您使用外部識別資訊提供者 (IdP),請先 使用聯合身分登入 gcloud CLI

  5. 如果您之前已經安裝了 gcloud CLI,請執行

     gcloud components update