1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-06-02 16:40:49 +00:00

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

View File

@ -11,7 +11,7 @@ services:
stages: stages:
- build - build
- name: docker-tag - name: docker-tag
if: tag IS present if: (tag IS present) AND (branch = master)
- name: docker-push - name: docker-push
if: branch = master if: branch = master