Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5d69cddc authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#16 Fix the tag which were not properly set.

parent d5b44a6e
No related branches found
No related tags found
Loading
......@@ -13,7 +13,7 @@ build_docker:
# Latest is always generated but not pushed if ${UPDATE_LATEST_TAG} is not "True"
- docker build -f docker/Dockerfile -t $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling:${TAG} -t $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling:latest .
- docker container prune
- docker push $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling:latest
- docker push $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling:${TAG}
- if [ "${UPDATE_LATEST_TAG}" == "True" ]; then docker push $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling:latest; fi
build_docker_full:
......@@ -26,4 +26,5 @@ build_docker_full:
# Latest is always generated but not pushed if ${UPDATE_LATEST_TAG} is not "True"
- docker build -f docker/Dockerfile_full -t $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling-and-compilers:${TAG} -t $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling-and-compilers:latest .
- docker container prune
- docker push $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling-and-compilers:${TAG}
- if [ "${UPDATE_LATEST_TAG}" == "True" ]; then docker push $CI_REGISTRY/$CI_PROJECT_PATH/xeus-cling-and-compilers:latest; fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment