Skip to content

audronFS/cloud-run-go-echo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-run-go-echo

Go + Echo Framework -> Google Cloud Run

  1. Repo Clone -> Docker Build -> GCR Push
$ git clone https://github.com/onori/cloud-run-go-echo.git
$ docker build -t  gcr.io/[YOUR-PROJECT-ID]/cloud-run-go-echo:tag1
$ docker push gcr.io/[YOUR-PROJECT-ID]/cloud-run-go-echo:tag1
  1. Deploy Cloud Run

https://cloud.google.com/run/docs/quickstarts/build-and-deploy

$ gcloud beta run deploy --image gcr.io/[YOUR-PROJECT-ID]/cloud-run-go-echo:tag1
Please specify a region:
 [1] us-central1
 [2] cancel
Please enter your numeric choice:  1   

To make this the default region, run `gcloud config set run/region us-central1`.

Service name: (cloud-run-go-echo):  
Deploying container to Cloud Run service [cloud-run-go-echo] in project [YOUR-PROJECT-ID] region [us-central1]
Allow unauthenticated invocations to new service [cloud-run-go-echo]? 
(y/N)?  y

✓ Deploying new service... Done.                                                                                                                                                                                                                             
  ✓ Creating Revision... Deploying Revision.                                                                                                                                                                                                                 
  - Routing traffic...                                                                                                                                                                                                                                       
Done.                                                                                                                                                                                                                                                        
Service [cloud-run-go-echo] revision [cloud-run-go-echo-00001] has been deployed and is serving traffic at https://xxxx.app

About

Go + Echo Framework -> Google Cloud Run

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 64.6%
  • Dockerfile 35.4%