-
Follow the basic setup here: https://cloud.google.com/run/docs/quickstarts/build-and-deploy/deploy-go-service
-
Amend
cloudbuild.yaml
withgcr.io/<PROJECT_ID>/<YOUR_SERVICE_NAME>
-
Run
gcloud builds submit
at the project root -
Navigate to Cloud Run on the GC Console and deploy the submitted build
brew install sqlc
and thensqlc generate
to generate db methods and models