A lightweight DevOps starter template for containerized services using GitHub Actions, Docker, and GitHub Container Registry (GHCR).
This template is designed to eliminate manual server builds and provide a fully automated CI/CD pipeline for modern service deployment.
- ⚡ Automated CI/CD via GitHub Actions
- 🐳 Docker-based deployment
- 📦 Container publishing to GitHub Container Registry (GHCR)
- 🌿 Branch-based environments (
dev,latest-stable) - 🔁 Automatic image tagging based on branch name
- 🖥️ Server-only runtime (no build required on host)
- ♻️ Fully reusable template for multiple services
| Branch | Purpose | Image Tag |
|---|---|---|
dev |
Development | dev |
main |
Stable production | main |
v* (tags) |
Releases | v1.0.0, etc. |
- Click "Use this template" on GitHub
- Create a new repository
- Clone your new repo:
git clone https://github.com/TheMux-42/github-actions-docker-template.git
cd github-actions-docker-template