CICD Pipeline from Scratch using GitHub Actions & Docker Swarm

Опубликовано: 23 Март 2026
на канале: Code Goat
853
22

Code Repo: https://github.com/GuptaKshitiz/FastA...

In this video, I explain how to build a COMPLETE CI/CD pipeline using GitHub Actions for a real-world project deployed on Docker Swarm.

This is a step-by-step DevOps tutorial where we create the GitHub Actions workflow from scratch and deploy the application with ZERO downtime — exactly how modern production systems work.

🔥 What you will learn in this video:
✔ Understand the complete CI/CD pipeline flow
✔ How CI/CD works in real DevOps environments
✔ How to set up a self-hosted GitHub Actions runner (agent)
✔ GitHub Actions basics explained clearly
✔ Workflow syntax, keywords, and concepts
✔ Docker Hub repository creation and usage
✔ Build and push Docker images via GitHub Actions
✔ Deploy application on Docker Swarm
✔ Configure zero downtime deployment
✔ Test the deployment end-to-end

🚀 Why this video is different:
Most tutorials explain CI/CD in theory. In this video, I show:
• Real project
• Real deployment
• Real DevOps workflow
• No shortcuts
• No cloud dependency
• Production-style setup

I also explain the WHY behind every step so you understand the full DevOps lifecycle — not just commands.

👨‍💻 Who should watch this?
• DevOps Engineers
• Backend Developers
• Cloud Engineers
• Freshers preparing for DevOps interviews
• Anyone learning GitHub Actions or Docker Swarm

00:00 What & How we will Implement
04:26 Real DevOps Pattern
08:05 CI/CD Flow
13:41 Prepare Your Git Actions Runner
25:27 Github Actions Work in DevOps Pattern
28:34 Github Actions from Scratch (Basics Understanding and Preparing)
57:15 DockerHub Portal & Get Docker user token
01:00:15 Code Changes for Zero Downtime
01:06:53 Deploy Application From Pipeline

Playlist :    • FastAPI Tutorial  

Steps to Prepare your server
https://docs.github.com/en/actions/ho...

If you’re serious about learning CI/CD pipelines the RIGHT way, this video is for you.

I also explain the WHY behind every step so you understand the full DevOps lifecycle — not just commands.

👨‍💻 Who should watch this?
• DevOps Engineers
• Backend Developers
• Cloud Engineers
• Freshers preparing for DevOps interviews
• Anyone learning GitHub Actions or Docker Swarm

If you’re serious about learning CI/CD pipelines the RIGHT way, this video is for you.

📌 Subscribe for regular, high-quality tech tutorials!
   / @codegoat-s2y