This commit is contained in:
parent
b3329448eb
commit
f286199d89
14
.drone.yml
14
.drone.yml
@ -13,7 +13,7 @@ steps:
|
|||||||
- mkdir wechatbot
|
- mkdir wechatbot
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ./wechatbot/chatgpt-arm64
|
- CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ./wechatbot/chatgpt-arm64
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./wechatbot/chatgpt-amd64
|
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./wechatbot/chatgpt-amd64
|
||||||
- name: upload
|
- name: upload-tencent-cos
|
||||||
image: rainteam/gocos:latest
|
image: rainteam/gocos:latest
|
||||||
settings:
|
settings:
|
||||||
secret_id:
|
secret_id:
|
||||||
@ -24,7 +24,17 @@ steps:
|
|||||||
from_secret: cos_bucket_url
|
from_secret: cos_bucket_url
|
||||||
source: wechatbot
|
source: wechatbot
|
||||||
target: cicd
|
target: cicd
|
||||||
|
- name: upload-upyun
|
||||||
|
image: rainteam/upcos:latest
|
||||||
|
settings:
|
||||||
|
up_operator:
|
||||||
|
from_secret: up_operator
|
||||||
|
up_password:
|
||||||
|
from_secret: up_password
|
||||||
|
up_bucket:
|
||||||
|
from_bucket: up_bucket
|
||||||
|
local_base_path: wechatbot
|
||||||
|
remote_base_path: gitea/devops
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user