[ci skip] backport doker-build stage
This commit is contained in:
parent
82e33fa033
commit
9ebfb14bb5
@ -475,11 +475,12 @@ 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 --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:
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user