Filter for only triggering builds on master and tags

This commit is contained in:
Nicolai Ort 2020-06-23 17:50:21 +02:00
parent 524652f783
commit bb50b6c6cd
1 changed files with 5 additions and 1 deletions

View File

@ -22,4 +22,8 @@ build:
- docker tag frontend:$CI_COMMIT_SHORT_SHA $CI_REGISTRY/taskboard/frontend:latest
- docker push $CI_REGISTRY/taskboard/frontend:latest
tags:
- frontend
- frontend
only:
refs:
- tags
- master