This commit is contained in:
parent
9c998ddec5
commit
8eff972a12
13
.drone.yml
13
.drone.yml
@ -11,6 +11,17 @@ steps:
|
|||||||
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
- apk update && apk add build-base
|
- apk update && apk add build-base
|
||||||
- cd wechatbot && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o chatgpt-arm64
|
- cd wechatbot && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o chatgpt-arm64
|
||||||
|
- name: upload
|
||||||
|
image: hkccr.ccs.tencentyun.com/xiaoqidun/gocos
|
||||||
|
settings:
|
||||||
|
secret_id:
|
||||||
|
from_secret: cos_secret_id
|
||||||
|
secret_key:
|
||||||
|
from_secret: cos_secret_key
|
||||||
|
bucket_url:
|
||||||
|
from_secret: cos_bucket_url
|
||||||
|
source: wechatbot/chatgpt-arm64
|
||||||
|
target: cicd
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
@ -20,7 +31,7 @@ steps:
|
|||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
base_url: https://git.rainss.cn
|
base_url: https://git.rainss.cn
|
||||||
files:
|
files:
|
||||||
- gptbing/wechatbot/chatgpt-arm64
|
- wechatbot/chatgpt-arm64
|
||||||
checksum:
|
checksum:
|
||||||
- sha256
|
- sha256
|
||||||
when:
|
when:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user