feat: Add CI support
This commit is contained in:
parent
19682c3cad
commit
d1a03b924e
1 changed files with 18 additions and 0 deletions
18
.drone.yml
Normal file
18
.drone.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: "golang:alpine"
|
||||||
|
commands:
|
||||||
|
- go build
|
||||||
|
|
||||||
|
- name: release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_api_key
|
||||||
|
base_url: https://git.ddd.rip
|
||||||
|
files: bat-alert
|
||||||
|
when:
|
||||||
|
event: tag
|
Loading…
Reference in a new issue