This commit is contained in:
2019-09-25 21:20:29 +05:00
parent 654aa94b0c
commit da0942e794
2 changed files with 38 additions and 0 deletions

7
docker/set_docker_tag.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
if [[ $CI_BUILD_REF_NAME == "master" ]]; then
export DOCKER_TAG=latest;
else
export DOCKER_TAG="${CI_BUILD_REF_NAME}";
fi