Commit d374cccd authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

fix

parent d15f3f03
......@@ -41,8 +41,8 @@ build_image:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker build --build-arg="http_proxy=http://192.168.60.21:3128" --build-arg="https_proxy=http://192.168.60.21:3128" --build-arg=VERSION=${VERSION} -t registry.gitlab.com/nocproject/tower:master .
- docker push registry.gitlab.com/nocproject/tower:master
- if [ -n "${CI_BUILD_TAG}" ]; then docker tag registry.gitlab.com/nocproject/tower:master registry.gitlab.com/nocproject/tower:${CI_BUILD_TAG}; docker push registry.gitlab.com/nocproject/tower:${CI_BUILD_TAG} fi
- if [ -n "${CI_BUILD_TAG}" ]; then docker tag registry.gitlab.com/nocproject/tower:master registry.gitlab.com/nocproject/tower:latest; docker push registry.gitlab.com/nocproject/tower:latest fi
- if [ -n "${CI_BUILD_TAG}" ]; then docker tag registry.gitlab.com/nocproject/tower:master registry.gitlab.com/nocproject/tower:${CI_BUILD_TAG}; docker push registry.gitlab.com/nocproject/tower:${CI_BUILD_TAG}; fi
- if [ -n "${CI_BUILD_TAG}" ]; then docker tag registry.gitlab.com/nocproject/tower:master registry.gitlab.com/nocproject/tower:latest; docker push registry.gitlab.com/nocproject/tower:latest; fi
dependencies:
- build_tgz
tags:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment