docker-cloudrun

Containerizes apps and generates a GitHub Actions CI/CD pipeline for Google Cloud Run deployment.

2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/hamzaPixl/pixl-ai --skill docker-cloudrun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-cloudrun
Source: https://github.com/hamzaPixl/pixl-ai/tree/main/packages/crew/skills/docker-cloudrun
Command: npx skills add https://github.com/hamzaPixl/pixl-ai --skill docker-cloudrun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines converting a codebase into a secure, production-ready container and automates a GitHub Actions CI/CD pipeline to deploy that container to Google Cloud Run, removing manual Docker, local development, and deployment friction.

Core Features & Use Cases

  • Multi-stage Dockerfiles: Build-time and runtime separation to minimize image size and surface area.
  • Local development support: docker-compose configuration for local services, hot reload, and health checks.
  • CI/CD for Cloud Run: GitHub Actions workflow with GCP authentication, staging/production environments, and autoscaling configuration.
  • Security & reliability: .dockerignore, non-root runtime user, PORT environment handling, and guidance for Workload Identity Federation instead of static keys.
  • Use Case: Containerize a web API or microservice, run it locally with its dependencies, and push automated deployments to Cloud Run on merge.

Quick Start

Use the docker-cloudrun skill to containerize the application, add docker-compose for local testing, and generate a GitHub Actions workflow to deploy to Cloud Run.

Frequently Asked Questions about docker-cloudrun

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Docker container to Google Cloud Run using GitHub Actions?

Deploy a Docker container to Cloud Run by generating a GitHub Actions CI/CD pipeline with GCP authentication, staging/production environments, and autoscaling configuration. The workflow automates the container build and push process on merge.

How do I set up a multi-stage Dockerfile for a web API or microservice?

Set up a multi-stage Dockerfile by separating build-time dependencies from the runtime environment to minimize image size and surface area. This approach ensures secure, production-ready containers for web services and APIs.

Does deploying to Cloud Run require a non-root runtime user and PORT environment handling?

Cloud Run deployments require PORT environment handling and benefit from a non-root runtime user for security. The deployment process configures these automatically, along with a .dockerignore file to reduce build context.

Can I use docker-compose for local development before pushing to Cloud Run?

docker-compose supports local development by configuring local services, hot reload, and health checks. This allows you to run and test your containerized application with its dependencies locally before deploying to Cloud Run.

What is the best way to authenticate GitHub Actions to Google Cloud Run without static keys?

Authenticate GitHub Actions to Cloud Run using Workload Identity Federation instead of static keys. This method provides secure, keyless authentication for your CI/CD pipeline when deploying containers.

How do I configure staging and production scaling for Cloud Run services?

Configure staging and production scaling for Cloud Run by defining autoscaling configurations within your GitHub Actions workflow. This ensures your containerized web services and microservices scale appropriately across different environments.