diff --git a/.drone.yml b/.drone.yml index e1a9b14..33b985c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,4 +6,20 @@ steps: image: golang:alpine pull: if-not-exists commands: - - CGO_ENABLED=1 go build + - GOPROXY=https://goproxy.cn 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: + - md5 + - sha1 + - sha256 + when: + event: tag \ No newline at end of file