use drone-ci instead of gitlab-ci and add release

This commit is contained in:
Thomas Preisner 2021-09-09 13:13:42 +02:00
parent 3682eb626e
commit 835229c495
2 changed files with 24 additions and 6 deletions

24
.drone.yml Normal file
View file

@ -0,0 +1,24 @@
---
kind: pipeline
name: default
steps:
- name: golang
image: golang
commands:
- go vet
- go build
- go test
- name: gitea_release
image: plugins/gitea-release
settings:
base_url: https://git.preisner.eu
api_key:
from_secret: gitea_api
files:
- dyndns-server
checksum:
- sha256
when:
event: tag

View file

@ -1,6 +0,0 @@
golang:
image: golang
script:
- go vet
- go build
- go test