CICD Pipeline for Dockerize Java Springboot Gradle Application using Job and push Docker image to DockerHub
This is a sample project to demonstrate the CI/CD pipeline for a Java Springboot Gradle Application build uisng Jib and push Docker image to DockerHub. The pipeline is built using GitHub Workflow. The pipeline is triggered when a commit is made to the GitHub repository. The pipeline consists of the following stages:
- Checkout the code from GitHub repository
- Setup Java JDK 11
- Setup Gradle
- Build the Java Springboot Gradle Application
- Unit Test the Java Springboot Gradle Application
- Build the Docker image using Jib
- Push the Docker image to DockerHub
The pipeline is defined in the file action.yml