E5SubBotForSQLite/.drone.yml
rainerosion 717185ad3d
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build was killed
更新 '.drone.yml'
2021-07-29 21:49:49 +08:00

27 lines
511 B
YAML

kind: pipeline
type: docker
name: E5SubBotForSQLite
steps:
- name: gobuild
image: golang:alpine
pull: if-not-exists
commands:
- apk update && apk add build-base
- GOPROXY=https://goproxy.cn CGO_ENABLED=1 go build
- ls -lh
- name: gitea_release
image: plugins/gitea-release
pull: if-not-exists
commands:
- ls -lh
settings:
api_key:
from_secret: gitea_token
base_url: https://git.rainss.cn
files:
- main
checksum:
- md5
- sha256
when:
event: tag