update Dockerfile for hub

nightly->latest
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-02-17 22:11:35 +04:00 committed by GitHub
parent 8c9c6744fc
commit 163e2af568

View File

@ -487,9 +487,10 @@ docker-build:
- docker info
script:
- cd docker/hub
- if [ "$CI_BUILD_REF_NAME" == "nightly" ]; then DOCKER_TAG="latest"; else DOCKER_TAG=$CI_BUILD_REF_NAME; fi
- docker login -u $Docker_Hub_User -p $Docker_Hub_Pass
- docker build --no-cache=true --tag ethcore/parity:$CI_BUILD_REF_NAME .
- docker push ethcore/parity:$CI_BUILD_REF_NAME
- docker build --no-cache=true --tag ethcore/parity:$DOCKER_TAG .
- docker push ethcore/parity:$DOCKER_TAG
tags:
- docker
test-darwin: