Skip to content

Commit

Permalink
Travis should not try to build docker when no tag is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
jocgir committed Sep 28, 2017
1 parent fdcfa98 commit 5cdc804
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ install:
fi

script:
- bash make_dockers.sh
- if [ ${TRAVIS_TAG::6} = image- ];
then
bash make_dockers.sh;
fi
- if [ ${TRAVIS_TAG::1} = v ];
then
curl -sL https://git.io/goreleaser | bash;
Expand Down

0 comments on commit 5cdc804

Please sign in to comment.