diff --git a/.drone.yml b/.drone.yml index 2b20518..7cbf5cc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ clone: steps: - name: build - image: reg.int.it2000.com.cn/library/golang:1.15.6-buster + image: reg.int.it2000.com.cn/library/golang-cross:1.15.6-buster volumes: - name: deps path: /go @@ -22,9 +22,9 @@ steps: GO111MODULE: on GOPROXY: https://goproxy.io commands: - - GOOS=linux GOARCH=amd64 go build -o tele-recv-linux + - OOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o tele-recv-linux - GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc go build -o tele-recv-win64.exe - - tar cvzf tele-recv-linux-0.0.5.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml + - tar cvzf tele-recv-linux-0.0.6.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml - name: release image: plugins/gitea-release @@ -34,9 +34,9 @@ steps: settings: api_key: fe1e1a8dd77de7452a3f473984c7ac6fe6c5abaf base_url: https://gitea.int.it2000.com.cn - title: 0.0.5 + title: 0.0.6 files: - - tele-recv-linux-0.0.5.tar.gz + - tele-recv-linux-0.0.6.tar.gz checksum: - sha256 when: