ci: restrict build step to main branch and tags (#6)
This commit is contained in:
parent
88be0f358e
commit
acc42d8079
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ test:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
- tags
|
||||||
script:
|
script:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- make build/snapshot
|
- make build/snapshot
|
||||||
|
|
Loading…
Reference in a new issue