update gitlab-ci

docker build beta-release->latest
[ci skip]
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-03-01 15:57:06 +04:00 committed by GitHub
parent 655c7ae7ae
commit d436f62eb8
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ docker-build:
before_script:
- docker info
script:
- if [ "$CI_BUILD_REF_NAME" == "nightly" ]; then DOCKER_TAG="latest"; else DOCKER_TAG=$CI_BUILD_REF_NAME; fi
- if [ "$CI_BUILD_REF_NAME" == "beta-release" ]; then DOCKER_TAG="latest"; else DOCKER_TAG=$CI_BUILD_REF_NAME; fi
- docker login -u $Docker_Hub_User -p $Docker_Hub_Pass
- sh scripts/docker-build.sh $DOCKER_TAG
tags: