pipeline:
tags:
image: alpine/git
commands:
- git fetch --tags
submodules:
- git submodule init
- git submodule update
when:
event:
- tag
lint:
image: golang:1.17
- make lint
test:
- make test
build:
- make build
release:
- git checkout -- .
- make release
secrets:
- github_token