Skip to content

mahmoudelshazly55/production-devops-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Production DevOps Pipeline (Backend)

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

Technologies Used

  • Python (Backend)
  • Docker
  • Docker Hub
  • GitHub Actions
  • Linux
  • Git & GitHub

Project Structure

production-devops-pipeline/ │ ├── app/ │ └── backend/ │ ├── app.py │ └── requirements.txt │ ├── docker/ │ └── backend.Dockerfile │ ├── .github/ │ └── workflows/ │ └── backend-ci.yml │ ├── docker-compose.yml └── README.md


CI Pipeline Workflow

The CI pipeline runs automatically on every push to the main branch and performs the following steps:

  1. Checkout source code
  2. Login to Docker Hub using GitHub Secrets
  3. Build Docker image
  4. Push image to Docker Hub

GitHub Secrets Required

  • DOCKERHUB_USERNAME
  • DOCKERHUB_TOKEN

Docker Image

mahmoud999999/devops-backend


Project Purpose

This project is for learning and practicing DevOps CI concepts using Docker and GitHub Actions.


Author

Mahmoud El-Shazly
Junior IT Support / DevOps Trainee

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors