aswi2022code-of-duty-gitlab/.gitlab-ci.yml @ a496e984
1 | f78b6150 | Michal Schwob | build: |
---|---|---|---|
2 | 6c033561 | Michal Schwob | image: docker:19.03.12 |
3 | 106e7dd3 | Michal Schwob | stage: build |
4 | f78b6150 | Michal Schwob | services: |
5 | 6c033561 | Michal Schwob | - docker:19.03.12-dind |
6 | 053244c6 | Michal Schwob | script: |
7 | f78b6150 | Michal Schwob | - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY |
8 | - docker build -t $CI_REGISTRY/group/project/image:latest . |
||
9 | - docker push $CI_REGISTRY/group/project/image:latest |