mirror of
https://github.com/xiaoqidun/gitcz.git
synced 2025-04-19 15:51:24 +08:00
chore(构建脚本): 更新构建脚本
This commit is contained in:
@ -2,19 +2,22 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
node:
|
||||||
|
region: cn
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: generate
|
- name: generate
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: hkccr.ccs.tencentyun.com/xiaoqidun/build
|
image: ccr.ccs.tencentyun.com/xiaoqidun/build
|
||||||
commands:
|
commands:
|
||||||
- build -f build.sh -i gitcz.go -o release/gitcz
|
- build -f build.sh -i gitcz.go -o release/gitcz
|
||||||
- name: build
|
- name: build
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
image: ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||||
commands:
|
commands:
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
- name: upload
|
- name: upload
|
||||||
image: hkccr.ccs.tencentyun.com/xiaoqidun/gocos
|
image: ccr.ccs.tencentyun.com/xiaoqidun/gocos
|
||||||
settings:
|
settings:
|
||||||
secret_id:
|
secret_id:
|
||||||
from_secret: cos_secret_id
|
from_secret: cos_secret_id
|
||||||
|
Reference in New Issue
Block a user