aswi2022code-of-duty-gitlab/.gitlab-ci.yml @ 88e9dc23
1 | 106e7dd3 | Michal Schwob | build: |
---|---|---|---|
2 | image: docker:19.03.12 |
||
3 | stage: build |
||
4 | 88e9dc23 | Michal Schwob | |
5 | variables: |
||
6 | DOCKER_HOST: tcp://docker:2375 |
||
7 | |||
8 | 106e7dd3 | Michal Schwob | services: |
9 | - docker:19.03.12-dind |
||
10 | script: |
||
11 | 99d5f8df | Michal Schwob | - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD gitlab.kiv.zcu.cz:5000 |
12 | 6760b053 | Michal Schwob | - docker build -t $CI_REGISTRY/aswi/aswi-2022/aswi2022code-of-duty:latest ./backend |
13 | - docker push $CI_REGISTRY/aswi/aswi-2022/aswi2022code-of-duty:latest |