Build, Test, Store and Distribute Docker Containers with GitLab
1. Build, test, store and
distribute Docker
containers with GitLab
Will Hall @hn_will willhallonline.co.uk
2. Overview
1. What is GitLab
2. Why I use GitLab
3. Build, Test, Store, Distribute
4. Demo (hopefully)
5. Questions
3.
4. What is GitLab?
● Git Hosting (like GitHub, BitBucket)
● CI/CD Platform
● Artifact Storage
● Docker Registry
● Open-Source
● Self Hosted (or hosted by GitLab.com)
● Native pluggable to other systems
5. Why I use GitLab
● Free Private Git Repos
● Free CI tools (including private repos)
● Free custom container registry
● 1 Solution
● At work - self hosted, free for multiple users
6. GitLab CI
● Configured inside .gitlab-ci.yml
● Provide CI instructions (like Travis)
Built in Go, will run pretty much anywhere.
Tightly integrated with GitLab.
7. Build, Test, Store, Distribute
01 Build
Build your container
from Dockerfile
04 Distribute
Pull your container
from GitLab
02 Test
Test the code inside your
project and containers
03 Store
Store your container
inside GitLab
01
02
03
04