Use master as gitlab latest
This commit is contained in:
parent
94c3bfff77
commit
60d0094b03
@ -188,7 +188,7 @@ docker-build:
|
|||||||
before_script:
|
before_script:
|
||||||
- docker info
|
- docker info
|
||||||
script:
|
script:
|
||||||
- if [ "$CI_BUILD_REF_NAME" == "beta" ]; then DOCKER_TAG="latest"; else DOCKER_TAG=$CI_BUILD_REF_NAME; fi
|
- if [ "$CI_BUILD_REF_NAME" == "master" ]; then DOCKER_TAG="latest"; else DOCKER_TAG=$CI_BUILD_REF_NAME; fi
|
||||||
- echo "Tag:" $DOCKER_TAG
|
- echo "Tag:" $DOCKER_TAG
|
||||||
- docker login -u $Docker_Hub_User_Parity -p $Docker_Hub_Pass_Parity
|
- docker login -u $Docker_Hub_User_Parity -p $Docker_Hub_Pass_Parity
|
||||||
- scripts/docker-build.sh $DOCKER_TAG
|
- scripts/docker-build.sh $DOCKER_TAG
|
||||||
|
Loading…
Reference in New Issue
Block a user