Sign inSign up

mihir2109/dockerpipeline

By mihir2109

•Updated almost 2 years ago

Image
Integration & delivery
0

215

mihir2109/dockerpipeline repository overview

⁠Jenkins Pipeline for Docker Image Build and Push

⁠Objective

Automate the process of building a Docker image for an Express API and pushing it to Docker Hub whenever there is a code commit.

⁠Benefits

  • Consistency: Ensures the Docker image is always up-to-date with the latest code changes.
  • Efficiency: Reduces manual work by automating the build and push process.
  • Reliability: Automated pipelines are less prone to human errors.

⁠Overview of Steps

  1. Setup Project
  2. Create Dockerfile
  3. Upload Project to GitHub
  4. Create Credentials for Docker Hub and GitHub
  5. Create a Jenkins Pipeline and Trigger on Push Event

Tag summary

Content type

Image

Digest

sha256:d21eb3f53…

Size

78 MB

Last updated

almost 2 years ago

docker pull mihir2109/dockerpipeline