update Dockerfile for hub
nightly->latest
This commit is contained in:
parent
8c9c6744fc
commit
163e2af568
@ -487,9 +487,10 @@ docker-build:
|
|||||||
- docker info
|
- docker info
|
||||||
script:
|
script:
|
||||||
- cd docker/hub
|
- 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 login -u $Docker_Hub_User -p $Docker_Hub_Pass
|
||||||
- docker build --no-cache=true --tag ethcore/parity:$CI_BUILD_REF_NAME .
|
- docker build --no-cache=true --tag ethcore/parity:$DOCKER_TAG .
|
||||||
- docker push ethcore/parity:$CI_BUILD_REF_NAME
|
- docker push ethcore/parity:$DOCKER_TAG
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
test-darwin:
|
test-darwin:
|
||||||
|
Loading…
Reference in New Issue
Block a user