Prerequisites
Before setting up your workflow, ensure you have:- A Pipecat Cloud account with a Private API key
- A secret set configured for your agent
Configure GitHub Secrets
Add the following secret to your repository (Settings → Secrets and variables → Actions):PCC_API_KEY: Your Pipecat Cloud Private API key
Basic Workflow — Cloud Build
The simplest setup uses cloud builds to build your image server-side. No Docker, no container registry, no extra infrastructure. Create.github/workflows/deploy.yml in your repository:
- Trigger on every push to the
mainbranch - Create a build context from your repository
- Upload it to Pipecat Cloud and build the image server-side
- Deploy the new image and wait for readiness
Build Caching
Cloud builds use a content hash of your build context to detect cache hits. If the files haven’t changed since the last successful build, the action skips the upload and build entirely and reuses the previous image. You can also reuse a specific build across workflows with thebuild-id input:
Monorepo Configuration
If your agent lives in a subdirectory (e.g.server/), set the build context and optionally restrict the workflow to that path:
paths filter ensures the workflow runs only when files under server/ change.
Customizing Deployment
Configure the deployment via action inputs:- secret-set: Name of the secret set used for runtime environment variables
- region: Deployment region (uses your organization default if omitted)
- min-agents: Minimum agents to keep warm (0–50)
- max-agents: Maximum concurrent agents (1–50)
- agent-profile: Agent profile name, if used
- wait-for-ready: Whether to poll until the deployment is ready (default: true)
- wait-timeout: Max seconds to wait for readiness (default: 90)
Deploying from Your Own Container Registry
If you host images in your own container registry (e.g. Docker Hub, AWS ECR, GHCR), you can skip the cloud build and deploy a fully tagged image directly:When deploying a pre-built image, you must provide an
image-credentials
reference if the image is in a private registry. Pipecat Cloud requires images
built for linux/arm64.Using v1 with Docker Build
v1 is still available for users who need the action to run
docker build
and push to their own container registry. However, we recommend upgrading to
v2 with cloud builds for a simpler setup.packages: write permission (for GHCR):
Next Steps
Secrets Management
Learn how to securely manage image pull secrets and environment variables.
Scaling Configuration
Configure auto-scaling to handle varying traffic loads.