tmp(gitlab-ci): testing docker build

This commit is contained in:
Laureηt 2022-02-12 23:50:27 +01:00
parent 909f68e936
commit 8c1d51b68a
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -2,16 +2,16 @@ stages:
- lint - lint
- build - build
pre-commit: # pre-commit:
stage: lint # stage: lint
image: python:latest # image: python:latest
before_script: # before_script:
- pip install pre-commit # - pip install pre-commit
- pre-commit install # - pre-commit install
script: # script:
- pre-commit run --all-files # - pre-commit run --all-files
docker-compose: docker:
stage: build stage: build
script: script:
- docker build --tag server -f Dockerfile . - docker build --tag server -f Dockerfile .