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

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