E5SubBotForSQLite/.drone.yml
rainerosion 46bcf556f8
Some checks reported errors
continuous-integration/drone/push Build was killed
更新 '.drone.yml'
2021-07-30 11:37:46 +08:00

26 lines
633 B
YAML

kind: pipeline
type: docker
name: E5SubBotForSQLite
steps:
- name: gobuild
image: golang:alpine
pull: if-not-exists
environment:
GOPROXY: https://mirrors.aliyun.com/goproxy/
commands:
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
- apk update && apk add build-base
- CGO_ENABLED=1 go build
- name: gitea_release
image: plugins/gitea-release
pull: if-not-exists
settings:
api_key:
from_secret: gitea_token
base_url: https://git.rainss.cn
files:
- main
checksum:
- sha256
when:
event: tag