feat(gitlab-ci): added build stage, to make docker images

This commit is contained in:
Laureηt 2022-02-12 23:47:59 +01:00
parent 10bd66d827
commit 909f68e936
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -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