Github Custom Actions

A small collection of reusable GitHub composite actions I built to standardize Google Cloud auth and Cloud Run deployments across my projects.

github-actionsdevopsgcpcloud-runci-cd

Details

Category:⚙️ Tools, IaC & DevOps
Status:Live
Created: 12/12/2025
Updated: 12/12/2025

I got tired of copy-pasting the same Google Cloud auth and deploy boilerplate into every GitHub Actions workflow, so I pulled it into a small shared repo: gh-custom-actions.

The repo currently has two composite actions:

  • gcloud-wif-auth – handles Google Cloud authentication using Workload Identity Federation and installs/configures gcloud for a given project.
  • deploy-cloud-run – updates an existing Cloud Run service to a new container image, assuming gcloud is already authenticated.

Together, they let my workflows do something like:

  • build a container image,
  • push it to GHCR,
  • authenticate to GCP via WIF,
  • and roll out a new Cloud Run revision,

all with a couple of reusable steps instead of a pile of inline YAML.

I also wired up a small versioning strategy for the repo using semantic versions (v1.0.0, v1.0.1, etc.) plus a floating major tag (v1) so other projects can just depend on @v1 and automatically pick up non-breaking updates.

This is a small project, but it should make all the Pittsburgh in Progress and other side-project workflows a lot cleaner going forward.