From b98e227ce7a19c6472039f4500473569f7211147 Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Wed, 25 Sep 2019 17:35:31 +0200 Subject: [PATCH] Fix CI to only release docker tags on master branch Fixes the build error in pull request #119 and also prevent release tags that are not also commited on the master branch. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a5abc62..21aa147 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ services: stages: - build - name: docker-tag - if: tag IS present + if: (tag IS present) AND (branch = master) - name: docker-push if: branch = master