This project demonstrates a simple CI pipeline for a backend application using Docker and GitHub Actions.
The main goal of this project is to show how to:
- Build a Docker image
- Push the image to Docker Hub automatically
- Use GitHub Actions as a CI tool
- Python (Backend)
- Docker
- Docker Hub
- GitHub Actions
- Linux
- Git & GitHub
production-devops-pipeline/ │ ├── app/ │ └── backend/ │ ├── app.py │ └── requirements.txt │ ├── docker/ │ └── backend.Dockerfile │ ├── .github/ │ └── workflows/ │ └── backend-ci.yml │ ├── docker-compose.yml └── README.md
The CI pipeline runs automatically on every push to the main branch and performs the following steps:
- Checkout source code
- Login to Docker Hub using GitHub Secrets
- Build Docker image
- Push image to Docker Hub
- DOCKERHUB_USERNAME
- DOCKERHUB_TOKEN
mahmoud999999/devops-backend
This project is for learning and practicing DevOps CI concepts using Docker and GitHub Actions.
Mahmoud El-Shazly
Junior IT Support / DevOps Trainee