CI: minor fix.

This commit is contained in:
Grégoire Henry 2017-03-07 13:28:23 +01:00
parent 9dd2e4963f
commit c396cd4dec

View File

@ -142,7 +142,7 @@ publish:docker:
script: script:
- mkdir -p ~/.docker ; - mkdir -p ~/.docker ;
- echo "$CI_DOCKER_AUTH" > ~/.docker/config.json ; - echo "$CI_DOCKER_AUTH" > ~/.docker/config.json ;
- docker tag "${CI_REGISTRY_IMAGE}:${CI_BUILD_REF_NAME}" - docker tag "${CI_REGISTRY_IMAGE}:${CI_BUILD_REF}"
"${public_docker_image}:${CI_BUILD_REF_NAME}" "${public_docker_image}:${CI_BUILD_REF_NAME}"
- docker push "${public_docker_image}:${CI_BUILD_REF_NAME}" - docker push "${public_docker_image}:${CI_BUILD_REF_NAME}"
- docker rmi "${public_docker_image}:${CI_BUILD_REF_NAME}" - docker rmi "${public_docker_image}:${CI_BUILD_REF_NAME}"