Skip to content

Full DevOps CI/CD tooling project using Docker, GitHub actions.

License

Notifications You must be signed in to change notification settings

wood-brandon/gh-actions-webapp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-actions-webapp-demo

CI-CD pipeline Docker GitHub Actions NodeJS

Example implementation of Node + Express JS webapp setup that utilizes GitHub actions to build and test the project, using Docker for containerization.

Workflow

The pipeline has three main stages:

  1. Checkout repo and set up node.js + dependencies
  2. Build the docker image
  3. Run tests via npm test on the built image
  4. If successful, push the docker image

Usage

The associated GH actions workflow manages building and pushing a new docker container on each push of the release/* branch in accordance with git flow.

You can clone the repo, then set the below secret values:

  • DOCKER_IMAGE_NAME = name of image to push (it will tag with the commit SHA)
  • DOCKER_USERNAME = your dockerhub username
  • DOCKER_TOKEN = PAT for dockerhub

About

Full DevOps CI/CD tooling project using Docker, GitHub actions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published