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