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
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.
- Google Cloud Run Deploy
- Workflow syntax for GitHub Actions
- Google Cloud Run
- Google Container Registry
- Deploy Your Website on Google Cloud Run
- Cloud Run IAM Roles
- Service name may only start with a letter and contain up to 63 lowercase letters, numbers or hyphens
- How to pick region