Java Application Deployment Bundle : https://tobiweissmann.gumroad.com/l/z...
In this video, I’ll show you a complete step-by-step CI/CD pipeline to deploy a Java (Spring Boot) application to Google Cloud Run using a GitHub Actions workflow — with secure, keyless authentication using Workload Identity Federation (OIDC) (no JSON keys needed).
✅ What you’ll learn in this tutorial:
How Cloud Run deployment works (container + PORT handling)
Enable required Google Cloud APIs
Create an Artifact Registry Docker repository
Create a Service Account for deployments + required IAM roles
Configure Workload Identity Federation (GitHub → GCP) for keyless auth
Add GitHub Secrets (Project ID, Region, Service, WIF Provider, SA Email)
Create a production-ready Dockerfile for Java / Spring Boot
Write the full .github/workflows/deploy-cloudrun.yml pipeline
Build → Push Docker image → Deploy to Cloud Run automatically
Common errors & fixes (PORT, IAM permissions, Artifact Registry auth)
📌 Best for:
Java / Spring Boot developers
DevOps beginners who want real CI/CD
Anyone deploying microservices to Google Cloud Run
⏱️ Chapters:
00:00 Intro
01:10 Prerequisites & overview
03:00 Cloud Run setup (APIs + Artifact Registry)
06:30 Service Account & IAM roles
10:00 Workload Identity Federation (OIDC)
14:30 GitHub Secrets setup
17:00 Dockerfile for Java / Spring Boot
20:00 GitHub Actions workflow (build + push + deploy)
26:00 Troubleshooting common issues
30:00 Final deployment + URL output
🧩 Repo Structure Used:
Spring Boot app (Maven)
Dockerfile at repo root
GitHub Actions workflow in .github/workflows/
🛠️ Tools / Tech:
Java 21 + Spring Boot
Maven
Docker
GitHub Actions
Google Cloud Run
Artifact Registry
Workload Identity Federation (OIDC)
📣 If you want the same workflow customized for your project (multi-module Maven / Gradle / Jib), drop a comment with:
Your region (e.g., europe-west1)
Service name
Build tool (Maven/Gradle/Jib)
👍 Like, Subscribe & share if you want more Java + DevOps tutorials (Docker, Kubernetes, Cloud Run, CI/CD).
#Java #SpringBoot #GoogleCloudRun #GitHubActions #DevOps #CICD #Docker #GCP #ArtifactRegistry #WorkloadIdentityFederation