From e7b31dd2d2adb060ed058acfe9badba45e6004ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 28 Oct 2019 14:13:19 +0000 Subject: [PATCH] fix(ci): don't run duplicated docker image build for release jobs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d35d4ee2a..1bc97bae6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -168,7 +168,7 @@ jobs: name: Build docker image # we build and push docker image on merge and tag, so this should only # run for new branches, to test that they don't break docker builds - if: (repo = prymitive/karma AND type != pull_request AND branch != master) OR (fork = true AND type = pull_request) + if: (repo = prymitive/karma AND type != pull_request AND branch != master AND tag IS NOT present) OR (fork = true AND type = pull_request) language: shell addons: apt: