Skip to content

Setup CI/CD for Google Cloud Run Deployments #209

@Jeffrey0522

Description

@Jeffrey0522

CI/CD Setup for Google Cloud Run

  • Name / Title: Setup CI/CD for Google Cloud Run Deployments
  • Complexity: Medium
  • Task Type: DevOps
  • Description: Create GitHub Actions workflows to automatically build both Docker images (Frontend & Backend) and deploy them to Google Cloud Run whenever changes are pushed or merged into the main branch.
  • Technical Requirement: GitHub Actions, YAML, Google Cloud IAM, Google Cloud Run.
  • Estimated time to deliver: 8 hours
  • Acceptance criteria:
    • GitHub Actions .yml files are present in .github/workflows/ for both repos.
    • Pushes to main trigger a remote Docker build and successful deploy to Cloud Run.
    • Both services communicate effectively over HTTPS in Cloud Run.
  • MUST DOs:
    • Use Workload Identity Federation (WIF) instead of long-lived JSON service account keys for GCP authentication.
    • Setup appropriate build secrets in GitHub repository settings.
  • References:
    • Repo: skillcert-backend-server
    • Files: .github/workflows/deploy.yml

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions