iperf3exporter/vendor/go.xsfx.dev/logginghandler/.drone.yml
Marvin Preuss 2343c9588a
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
first commit
2021-10-20 10:08:56 +02:00

35 lines
563 B
YAML

---
kind: pipeline
name: default
type: docker
steps:
- name: fetch
image: alpine/git
commands:
- git fetch --tags
- name: test
image: golang
commands:
- make test
- name: lint
image: golangci/golangci-lint:v1.31-alpine
commands:
- apk add --no-cache make
- make lint
- name: release
image: golang
environment:
GITEA_TOKEN:
from_secret: gitea_token
commands:
- curl -sL https://git.io/goreleaser | bash
depends_on:
- test
- lint
when:
event: tag