feat(gitlab-ci): added build stage, to make docker images
This commit is contained in:
parent
10bd66d827
commit
909f68e936
|
@ -1,5 +1,6 @@
|
||||||
stages:
|
stages:
|
||||||
- lint
|
- lint
|
||||||
|
- build
|
||||||
|
|
||||||
pre-commit:
|
pre-commit:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
@ -9,3 +10,11 @@ pre-commit:
|
||||||
- pre-commit install
|
- pre-commit install
|
||||||
script:
|
script:
|
||||||
- pre-commit run --all-files
|
- pre-commit run --all-files
|
||||||
|
|
||||||
|
docker-compose:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- docker build --tag server -f Dockerfile .
|
||||||
|
- docker build --tag emulator -f Dockerfile .
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
Loading…
Reference in a new issue