Custom CI/CD
GitHub Actions: Tag-Based Releases
- Applies to
- Gatewayruntime for API, AI, and MCP gateways
- Hosting
- Managed EdgeManaged DedicatedSelf-HostedDiffers
1 difference by hosting option
Self-Hosted
Add --self-hosted-endpoint with your management API hostname to each zuplo deploy command so it targets your cluster. See zuplo deploy.
Deploy only when you explicitly tag a release. This gives you complete control over what reaches production—no accidental deployments from work in progress.
.github/workflows/tag-deploy.yaml
This workflow:
- Triggers only when you push a tag matching
v*(likev1.0.0,v2.1.3) - Creates an environment named after the tag
- Deploys your API to that environment
Creating a Release
Code
Deploying to Production
If you want tags to update your production environment instead of creating new environments:
Code
With GitHub Releases
Combine with GitHub Releases for a complete release workflow:
Code
Next Steps
- Add multi-stage deployment with staging validation
- Set up automatic cleanup for old environments
Last modified on