CI: typo...

This commit is contained in:
Grégoire Henry 2017-01-26 14:04:46 +01:00
parent 07641eb594
commit dc7c692f87

View File

@ -153,7 +153,7 @@ publish:docker:
- docker push "$private_image_id:$CI_BUILD_REF_NAME" - docker push "$private_image_id:$CI_BUILD_REF_NAME"
- docker rmi "$private_image_id:$CI_BUILD_REF_NAME" - docker rmi "$private_image_id:$CI_BUILD_REF_NAME"
- if [ "$CI_PROJECT_PATH" = "tezos/tezos" -a "$CI_BUILD_REF_NAME" = "master" ]; then - if [ "$CI_PROJECT_PATH" = "tezos/tezos" -a "$CI_BUILD_REF_NAME" = "master" ]; then
mkdir ~/.docker ; mkdir -p ~/.docker ;
echo "$CI_DOCKER_AUTH" > ~/.docker/config.json ; echo "$CI_DOCKER_AUTH" > ~/.docker/config.json ;
docker tag ${image_name}:${build_image_id} ${public_image_id} ; docker tag ${image_name}:${build_image_id} ${public_image_id} ;
docker push ${public_image_id} ; docker push ${public_image_id} ;