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.
This commit is contained in:
Fabian Hauser 2019-09-25 17:35:31 +02:00 committed by GitHub
parent 513453e51b
commit b98e227ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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