Filter for only triggering builds on master and tags
This commit is contained in:
1 parent
524652f783
commit
bb50b6c6cd
1 file changed
+5
-1
+5
-1
@@ -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
|
||||
Reference in new issue
Block a user