Added filter so that builds only get executed on master and tags

This commit is contained in:
Nicolai Ort 2020-06-23 17:48:09 +02:00
parent a588148dc9
commit faafbbeb62
1 changed files with 5 additions and 1 deletions

View File

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