Commit 076e8fc3 authored by Alexandru Giurgiu's avatar Alexandru Giurgiu

- removed the line that pushes for any commit

- changed Docker tag for pushes from the master branch. The pushed
  Docker tag now contains tag of form: "master-<8 char commit SHA>"
- the tag pusing remains the same.
parent a00e9508
......@@ -40,12 +40,9 @@ tag_and_push_all() {
done;
}
# Always push commit
tag_and_push_all $COMMIT
# Push snapshot when in master
if [ "$TRAVIS_BRANCH" == "master" ]; then
tag_and_push_all snapshot
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
tag_and_push_all master-${COMMIT:0:8}
fi;
# Push tag and latest when tagged
......
Markdown is supported
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