Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

Commit 87bb9873 authored by Moul's avatar Moul
Browse files

[fix] latest tag refer to one of the uploaded Docker image Python version

parent 1a0ecb34
Pipeline #7022 passed with stage
in 1 minute and 29 seconds
......@@ -20,11 +20,11 @@ test_build_image:
- docker:dind
script:
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" $PYTHON_VERSION
- docker build --pull -t "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:$CI_BUILD_TAG" $PYTHON_VERSION
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker tag "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:$CI_BUILD_TAG"
- docker tag "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:$CI_BUILD_TAG" "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:$CI_BUILD_TAG"
- docker push "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:$CI_BUILD_TAG"
- docker tag "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:latest"
- docker tag "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:$CI_BUILD_TAG" "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:latest"
- docker push "$CI_REGISTRY_IMAGE/$PYTHON_VERSION:latest"
only:
- tags
......
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