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

View File

@ -499,7 +499,7 @@ docker-build:
before_script: before_script:
- docker info - docker info
script: 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 - docker login -u $Docker_Hub_User -p $Docker_Hub_Pass
- sh scripts/docker-build.sh $DOCKER_TAG - sh scripts/docker-build.sh $DOCKER_TAG
tags: tags: