ci: restrict build step to main branch and tags (#6)

This commit is contained in:
Hector 2021-02-07 11:00:13 +00:00
parent 88be0f358e
commit acc42d8079

View file

@ -24,6 +24,9 @@ test:
build:
stage: build
only:
- main
- tags
script:
- git fetch --tags
- make build/snapshot