README.md 553 Bytes
Newer Older
1
2
# Example Docker app with GitLab CI using GitLab Container registry

Mark Pundsack's avatar
Tweaks    
Mark Pundsack committed
3
## CI/CD Pipeline Description
4
5
6
7
8
9
10
11
12
13
14
15
16

Create/update on merge request
- Build image
- Push to container registry using commit SHA
- Run parallel tests
- Tag image with branch name

Push/merge to master
- Build image (would be great to re-use image if same SHA)
- Run parallel tests (would be great to skip if same SHA)
- Tag image with `latest`
- Deploy to staging

Mark Pundsack's avatar
Tweaks    
Mark Pundsack committed
17
18
Manual deploy from master branch to production

19
## Note
Kamil Trzcinski's avatar
Kamil Trzcinski committed
20
This requires GitLab Runner using Docker Executor in Privileged mode.