tmp(gitlab-ci): testing docker build
This commit is contained in:
parent
909f68e936
commit
8c1d51b68a
|
@ -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 .
|
||||||
|
|
Loading…
Reference in a new issue