Skip to content
Snippets Groups Projects
Commit 300cf240 authored by FETCHEPING FETCHEPING Rossif Borel's avatar FETCHEPING FETCHEPING Rossif Borel
Browse files

Update .gitlab-ci.yml file

parent efac2b7f
No related branches found
No related tags found
No related merge requests found
Pipeline #8151 failed
image: python:3.8-alpine
workflow:
rules:
- if: $CI_COMMIT_BRANCH == "main"
#workflow:
# rules:
# - if: $CI_COMMIT_BRANCH == "main"
stages: # List of stages for jobs, and their order of execution
- test
......@@ -76,7 +76,7 @@ docker_lint_job:
- docs
# Job de génération des pages pour le reporting des tests
pages:
.pages:
stage: deploy
script:
- pip install mkdocs-material
......@@ -109,7 +109,7 @@ build:
- docker:20.10-dind
image: docker:20.10
tags:
- vm-imt
- ms-icd
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -f Dockerfile.api -t $TAG_API_COMMIT -t $TAG_API_LATEST .
......@@ -126,7 +126,7 @@ build:
- job: docker_lint_job
# Job de deploy des images docker sur la VM avec docker-compose
deploy:
.deploy:
stage: deploy
tags:
- vm-imt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment