Skip to content

Instantly share code, notes, and snippets.

@kevinmcalear
Forked from ljulliar/cloud_run_deploy.sh
Created March 27, 2020 11:10
Show Gist options
  • Save kevinmcalear/f0130f2a1a844a5088bb08f28046a9f2 to your computer and use it in GitHub Desktop.
Save kevinmcalear/f0130f2a1a844a5088bb08f28046a9f2 to your computer and use it in GitHub Desktop.
Deploy image (Photo Album on Google Cloud Run)
# Deploy the latest container images we just built
gcloud beta run deploy photo-album --image gcr.io/$PROJECT_ID/photo_album \
--set-cloudsql-instances $PROJECT_ID:us-central1:photo-album-production \
--region us-central1 --allow-unauthenticated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment