canopeas/.drone.yml

42 lines
675 B
YAML
Raw Permalink Normal View History

---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: golang:1.15
commands:
- make test
- make build-all
- name: check
pull: always
image: golang:1.15
commands:
- make vet
---
kind: pipeline
name: release
trigger:
event:
- push
branch:
2021-01-09 02:53:01 +00:00
- main
steps:
- name: build
pull: always
image: golang:1.15
commands:
- make build-all
- name: gitea-release
pull: always
image: jolheiser/drone-gitea-main:latest
settings:
token:
from_secret: gitea_token
base: https://git.etztech.xyz
files:
- "sedbot"