Build, Tag & Push Docker Image to Docker Hub using Jenkins Pipeline
🎯 Objective
Build a Docker image for a Node.js app using Jenkins
Tag the image dynamically with build number or commit ID
Push the image to Docker Hub
Automate everything via a Jenkins Pipeline
🧰 Tools Used
Amazon Linux 2 EC2
Git, GitHub
...
devopsdost.hashnode.dev2 min read