Added filter so that builds only get executed on master and tags
This commit is contained in:
1 parent
a588148dc9
commit
faafbbeb62
1 file changed
+5
-1
+5
-1
@@ -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
|
||||
Reference in new issue
Block a user