Automated CI/CD Pipeline with GitHub Actions and Docker

I pushed my code. And my Docker image was live on Docker Hub — automatically. No terminal. No manual docker build. No docker push. Just a git push, and GitHub Actions did the rest. That moment hit different. 🚀 This is what Day 45 of #90DaysOfDevOps looked like for me. I built a full CI/CD pipeline for the Flask Task Manager app. But I didn't just make it "work" — I made it work smart: ⚙️ Triggers only on push to main Feature branches? PRs? They build but never push. Only clean, reviewed code makes it to Docker Hub. 🏷️ Two tags on every push Every image gets tagged as :latest AND :sha-xxxxxxx So you always know exactly which commit is running in production. 🔐 Secrets, not hardcoded credentials Docker Hub username and token stored as GitHub secrets. Nothing sensitive ever touches the codebase. ✅ End-to-end — no manual steps git push → checkout → docker build → docker push → Done. This is exactly how real teams ship software. GitHub: https://lnkd.in/gNSri6tZ #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Docker #GitHubActions #CICD #DevOps #LearningInPublic

To view or add a comment, sign in

Explore content categories