Added filter so that builds only get executed on master and tags
This commit is contained in:
parent
a588148dc9
commit
faafbbeb62
|
@ -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
|
Loading…
Reference in New Issue