Basic Configuration

Stay organized with collections Save and categorize content based on your preferences.

Code example used in "Creating a basic build configuration file"

Explore further

For detailed documentation that includes this code sample, see the following:

Code sample


  # Docker Build
  - name: ''
    args: ['build', '-t', 

  # Docker Push
  - name: ''
    args: ['push', 

  # Entrypoint, timeout and environment variables
  - name: ''
    entrypoint: 'gcloud'
    timeout: 240s
    args: ['compute', 'instances', 
           'create-with-container', 'my-vm-name',
      - 'CLOUDSDK_COMPUTE_REGION=us-central1'
      - 'CLOUDSDK_COMPUTE_ZONE=us-central1-a'

What's next

To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.