Skip to content
Snippets Groups Projects
Commit dbd64627 authored by Andrey Aristov's avatar Andrey Aristov
Browse files
parent 059ec3fb
No related branches found
No related tags found
1 merge request!3Update .gitlab-ci.yml - add docker build
Pipeline #81918 passed
......@@ -24,18 +24,22 @@ cache:
# - .cache/pip
- .tox/.tox
stages:
- test
- build
test:
stage: test
script:
- pip install tox flake8 pytest
- tox
docker-build:
# Use the official docker image.
image: docker:latest
image: registry-gitlab.pasteur.fr/dsi-tools/docker-images/docker:latest
stage: build
services:
- docker:dind
- registry-gitlab.pasteur.fr/dsi-tools/docker-images/docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
# Default branch leaves tag empty (= latest tag)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment