gin-deploy
Installation
SKILL.md
gin-deploy — Containerization & Deployment
Package and deploy Gin APIs to production. This skill covers the essential deployment patterns: multi-stage Docker builds, local dev with docker-compose, and Kubernetes manifests with health checks.
When to Use
- Dockerizing a Go Gin application for the first time
- Setting up local development with docker-compose (app + postgres + redis)
- Deploying a Gin API to Kubernetes
- Configuring health check endpoints and readiness/liveness probes
- Managing configuration with environment variables (12-factor)
- Setting up CI/CD pipelines for a Gin project
Multi-Stage Dockerfile
Build a minimal production image from the cmd/api/main.go entry point (same structure as the gin-api skill).
# syntax=docker/dockerfile:1