miraiioin/Deploy to Google Cloud Run (with ENV support)
Builds, pushes, and deploys to Google Cloud Run with safe env handling (.env → YAML), Artifact Registry, and GitHub Secrets support.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| service_name | Cloud Run service name | yes | — |
| region | GCP region (e.g. us-west1) | yes | — |
| project_id | GCP project ID | yes | — |
| image_repository | Artifact Registry repository name | yes | — |
| env_file_base32 | Base32-encoded .env file contents (use `base32 < .env` to generate) | yes | — |
| gcp_sa_key | GCP service account JSON key (raw JSON, not base64) | yes | — |
| backend_path | Path to the directory containing your Dockerfile | — | backend |
| allow_unauthenticated | Allow unauthenticated access to the deployed service | — | true |
| cloud_run_flags | Additional flags to pass to `gcloud run deploy` (e.g. --memory=512Mi --cpu=1) | — | "" |
Outputs
| name | description |
|---|---|
| service_url | Deployed Cloud Run service URL |
| image_uri | Full URI of the pushed container image |