Skip to content

Instantly share code, notes, and snippets.

@PurpleBooth
Created April 12, 2019 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PurpleBooth/bc64cd4028d5d320c57c0da353aba402 to your computer and use it in GitHub Desktop.
Save PurpleBooth/bc64cd4028d5d320c57c0da353aba402 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
docker build -t gcr.io/$(gcloud config get-value project)/simple-example:latest .
docker push gcr.io/$(gcloud config get-value project)/simple-example
gcloud beta run deploy --image gcr.io/$(gcloud config get-value project)/simple-example:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment