Filter for only triggering builds on master and tags
This commit is contained in:
parent
524652f783
commit
bb50b6c6cd
|
@ -22,4 +22,8 @@ build:
|
||||||
- docker tag frontend:$CI_COMMIT_SHORT_SHA $CI_REGISTRY/taskboard/frontend:latest
|
- docker tag frontend:$CI_COMMIT_SHORT_SHA $CI_REGISTRY/taskboard/frontend:latest
|
||||||
- docker push $CI_REGISTRY/taskboard/frontend:latest
|
- docker push $CI_REGISTRY/taskboard/frontend:latest
|
||||||
tags:
|
tags:
|
||||||
- frontend
|
- frontend
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- tags
|
||||||
|
- master
|
||||||
|
|
Loading…
Reference in New Issue