aswi2022code-of-duty-gitlab/.gitlab-ci.yml @ 6760b053
1 | 106e7dd3 | Michal Schwob | build: |
---|---|---|---|
2 | image: docker:19.03.12 |
||
3 | stage: build |
||
4 | services: |
||
5 | - docker:19.03.12-dind |
||
6 | script: |
||
7 | - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY |
||
8 | 6760b053 | Michal Schwob | - docker build -t $CI_REGISTRY/aswi/aswi-2022/aswi2022code-of-duty:latest ./backend |
9 | - docker push $CI_REGISTRY/aswi/aswi-2022/aswi2022code-of-duty:latest |