Skip to content

themountainboy19/ci-cd-nodejs-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI/CD Pipeline with GitHub Actions - Node.js App

This project demonstrates how to automate code deployment using GitHub Actions and Docker.

Tech Stack

  • Node.js
  • Docker
  • GitHub Actions
  • DockerHub

Project Structure

ci-cd-nodejs-app/
├── app/
│   ├── app.js
│   └── package.json
├── Dockerfile
├── .github/
│   └── workflows/
│       └── main.yml
└── README.md

Steps to Run

  1. Fork this repo and clone it.
  2. Create a public DockerHub repo.
  3. In GitHub → Settings → Secrets → Actions:
    • DOCKER_nodejs
    • DOCKER_PASSWORD
  4. Push to main branch → GitHub Action will:
    • Build Docker image
    • Push it to DockerHub

DockerHub Output

Image will be available at:

docker pull your-docker-abhayrajak19/nodejs-demo:latest

Author

Abhay Rajak – [abhay1001rajak@gmail.com]

About

intern project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors