CI configuration.

This commit is contained in:
2019-09-25 18:47:51 +05:00
parent 7f2174a33e
commit 333fc1d12a
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