Commit 44640191 authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

fix: change depreacted CI var in gitlab ci conf file

parent b11664f9
......@@ -16,12 +16,12 @@ stages:
build:
stage: build
script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" .
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" registry-gitlab.pasteur.fr
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" .
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME"
pytest:
image: registry-gitlab.pasteur.fr/bis-aria/ariaec:$CI_BUILD_REF_NAME
image: registry-gitlab.pasteur.fr/bis-aria/ariaec:$CI_COMMIT_REF_NAME
stage: test
script:
- cd ${CI_PROJECT_DIR}
......@@ -66,7 +66,7 @@ deliver:
only:
- master
script:
- semantic-delivery-gitlab --token ${GITLAB_TOKEN}
- semantic-delivery-gitlab --token ${CI_JOB_TOKEN}
stage: deliver
# deploy_pypi:
# stage: deploy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment