#7: Build Docker Image using GitLab CI | How to Build Docker Image in GitLab CI | GitLab CI CD

preview_player
Показать описание
In this video we are going to cover Build Docker Image using GitLab CI | How to Build Docker Image in GitLab CI | GitLab CI CD Pipeline
#gitlabcicd #gitlabtutorial #gitlabpipeline
0:00 Install Docker on GitLab Runner
5:00 Build Docker Image using GitLab CI

Build Docker Image using GitLab CI Pipeline code

stages:
- build
- build-docker-image

Build Java Project:
stage: build
script:
mvn package
artifacts:
paths:
- /home/gitlab-runner/

Build Docker Image:
stage: build-docker-image
script:
- docker info
- docker build -t devopshint/java-maven .

Complete GitLab CI CD Pipeline Tutorial for Beginners
Рекомендации по теме
Комментарии
Автор

How to give path in yml script, if i have 4 dockerfiles inside gitlab repo, but i want to pic one .

gummalapatidushyanth