In the previous step, we discussed Git Configurations. In this section, we will provide information on the Docker Build Configuration.
Docker build configuration is used to create and push docker images in the docker registry of your application. You will provide all the docker related information to build and push docker images in this step.
Only one docker image can be created even for multi-git repository applications as explained in the previous step.
To add docker build configuration, You need to provide three sections as given below:
In Image store section, You need to provide two inputs as given below: 1. Docker registry 2. Docker repository
1. Docker Registry
Select the docker registry that you wish to use. This registry will be used to store docker images.
2. Docker Repository
In this field, add the name of your docker repository. The repository that you specify here will store a collection of related docker images. Whenever an image is added here, it will be stored with a new tag version.
If you are using docker hub account, you need to enter the repository name along with your username. For example - If my username is kartik579 and repo name is devtron-trial, then enter kartik579/devtron-trial instead of only devtron-trial.