aswi2022code-of-duty-gitlab/.gitlab-ci.yml @ 6c033561
1 |
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 |
- docker build -t $CI_REGISTRY/group/project/image:latest . |
9 |
- docker push $CI_REGISTRY/group/project/image:latest |