Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (28 loc) · 1.66 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.66 KB

Frontend Cloud Run project

.github/workflows/stage.yml

docker build -t fe-cloud-run-example:latest .
docker run -it -p 5000:3000 --name fe-cloud-run-example fe-cloud-run-example:latest

test:

curl -i localhost:3000

Secret variables

Google Cloud Service Account keys are stored globally via Organization secrets.

Keys:

  • FE_PRODUCTION_GCP_SA_KEY
  • FE_STAGE_GCP_SA_KEY

The Service runner must have permission to edit IAM permissions to make the URL public. We recommend adding Security Admin, Project IAM Admin, Editor roles respectively in IAM Project Settings.

If you have to create new one, you can via Service Accounts page.

Reading list

Good to know

  • Service name may only start with a letter and contain up to 63 lowercase letters, numbers or hyphens
  • How to pick region