Deploying Images - Cloud Build Quickstart

Code example used in Deploy quickstart https://cloud.google.com/build/docs/quickstart-deploy

Documentation pages that include this code sample

To view the code sample used in context, see the following documentation:

Code sample

YAML

steps:
- name: 'gcr.io/cloud-builders/gcloud'
  args:
  - 'run'
  - 'deploy'
  - 'cloudrunservice'
  - '--image'
  - 'us-docker.pkg.dev/cloudrun/container/hello'
  - '--region'
  - 'us-central1'
  - '--platform'
  - 'managed'
  - '--allow-unauthenticated'

What's next

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