This project demonstrates how to automate code deployment using GitHub Actions and Docker.
- Node.js
- Docker
- GitHub Actions
- DockerHub
ci-cd-nodejs-app/
├── app/
│ ├── app.js
│ └── package.json
├── Dockerfile
├── .github/
│ └── workflows/
│ └── main.yml
└── README.md
- Fork this repo and clone it.
- Create a public DockerHub repo.
- In GitHub → Settings → Secrets → Actions:
DOCKER_nodejsDOCKER_PASSWORD
- Push to
mainbranch → GitHub Action will:- Build Docker image
- Push it to DockerHub
Image will be available at:
docker pull your-docker-abhayrajak19/nodejs-demo:latest
Abhay Rajak – [abhay1001rajak@gmail.com]