add ci
continuous-integration/drone Build is passing Details

This commit is contained in:
stryan 2021-08-07 14:32:34 -04:00
parent 96f6327fe0
commit 24e2118c80
1 changed files with 28 additions and 0 deletions

28
.drone.yml Normal file
View File

@ -0,0 +1,28 @@
kind: pipeline
name: default
steps:
- name: build
image: golang
commands:
- make
- name: create release tar
image: golang
commands:
- mkdir dist
- tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz init/guildgate.service config.yaml.sample guildgate
when:
event: tag
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
files:
- dist/*
base_url: https://git.saintnet.tech
when:
event: tag