Skip to content

Commit

Permalink
tag docker image for 'master' branch as 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
egemenyavuz committed Dec 18, 2019
1 parent 5818246 commit aaf282a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ GIT_REPO_OWNER="${SLUG/%\/*/}"
#add similar line as below for each contributer that has GIT_REPO_OWVER and DOCKER_REPO_OWNER different
DOCKER_REPO_OWNER=${GIT_REPO_OWNER/sesam-community/sesamcommunity}

if [ -n "$TRAVIS_TAG" ]
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]
then
DOCKER_REPO_TAG="development"
elif [ -n "$TRAVIS_TAG" ]
then
DOCKER_REPO_TAG="$TRAVIS_TAG"
fi
Expand Down

0 comments on commit aaf282a

Please sign in to comment.