Spring boot +Docker+ Gitlab - Continuous Integration(CI)
#
java
#
git
#
spring
#
devops
A simple example to demonstrate, how we can use spring boot, docker and gitlab for build and test using maven, create an image and push it to gitlab repository.
Step 1 - Create a Gitlab account
If you already familiar with gitlab then feel free to skip this section, otherwise create a gitlab account by following this link Link
Step 2 - Create a New Project in Gitlab
Once you successfully created Gitlab account then create a new project
Alt Text
Step 3 - Create a New Spring boot project
Simple and easiest way to create spring boot project is to visit start.spring.io
Alt Text
Once you have the project created, use the choice of your editor to open the project.
Step 4 - Add Dockerfile and Update gitlab.ci.yml file