forked from rainerosion/wechatbot
cicd: add linux-amd64
This commit is contained in:
parent
a6244f7a5a
commit
a2ac7b02a6
@ -10,8 +10,9 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
# - 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
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o chatgpt-arm64
|
- mkdir wechatbot
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o chatgpt-amd64
|
- 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
|
- name: upload
|
||||||
image: rainerosion/gocos
|
image: rainerosion/gocos
|
||||||
settings:
|
settings:
|
||||||
@ -21,8 +22,8 @@ steps:
|
|||||||
from_secret: cos_secret_key
|
from_secret: cos_secret_key
|
||||||
bucket_url:
|
bucket_url:
|
||||||
from_secret: cos_bucket_url
|
from_secret: cos_bucket_url
|
||||||
source: chatgpt-arm64
|
source: wechatbot
|
||||||
target: cicd/wechatbot
|
target: cicd
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user