forked from rainerosion/wechatbot
cicd: add linux-amd64
This commit is contained in:
parent
a6244f7a5a
commit
a2ac7b02a6
@ -10,8 +10,9 @@ steps:
|
||||
commands:
|
||||
# - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
# - apk update && apk add build-base
|
||||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o chatgpt-arm64
|
||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o chatgpt-amd64
|
||||
- mkdir wechatbot
|
||||
- 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
|
||||
- name: upload
|
||||
image: rainerosion/gocos
|
||||
settings:
|
||||
@ -21,8 +22,8 @@ steps:
|
||||
from_secret: cos_secret_key
|
||||
bucket_url:
|
||||
from_secret: cos_bucket_url
|
||||
source: chatgpt-arm64
|
||||
target: cicd/wechatbot
|
||||
source: wechatbot
|
||||
target: cicd
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
|
||||
Loading…
Reference in New Issue
Block a user