fix(ci): don't run duplicated docker image build for release jobs

This commit is contained in:
Łukasz Mierzwa
2019-10-28 14:13:19 +00:00
parent 017deac674
commit e7b31dd2d2

View File

@@ -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: