Como configurar o Cloud Build

Nesta página, descrevemos as etapas para configurar o Cloud Build. Para informações sobre cobranças no Cloud Build, consulte Preços.

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

    Go to project selector

  2. Make sure that billing is enabled for your Google Cloud project.

  3. Enable the required API.

    Enable the API

  4. After installing the Google Cloud CLI, initialize it by running the following command:

    gcloud init

    If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.

  5. Se você já instalou a gcloud CLI anteriormente, verifique se tem a versão mais recente disponível:

     gcloud components update