Google Cloud CLI (gcloud) · Cloud Run, Functions and builds

Deploy to Cloud Run from source

Build the current folder and deploy it as a Cloud Run service.

gcloud run deploy my-service --source . --region us-central1 --allow-unauthenticated

Caution: --allow-unauthenticated makes the service public. Remove it for private services.

Official Google Cloud CLI (gcloud) documentation

More cloud run, functions and builds commands

All cloud run, functions and builds commands · Google Cloud CLI (gcloud) cheatsheet

Was this page helpful?