2022-11-22 14:55:34 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
2023-07-07 14:30:06 +08:00
|
|
|
node:
|
|
|
|
region: cn
|
2022-11-22 14:55:34 +08:00
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: if-not-exists
|
2023-07-07 14:30:06 +08:00
|
|
|
image: ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
2022-11-22 14:55:34 +08:00
|
|
|
commands:
|
|
|
|
- chmod +x build.sh
|
|
|
|
- ./build.sh
|
|
|
|
- name: upload
|
2023-07-12 14:44:58 +08:00
|
|
|
pull: if-not-exists
|
2023-07-07 14:30:06 +08:00
|
|
|
image: ccr.ccs.tencentyun.com/xiaoqidun/gocos
|
2022-11-22 14:55:34 +08:00
|
|
|
settings:
|
|
|
|
secret_id:
|
|
|
|
from_secret: cos_secret_id
|
|
|
|
secret_key:
|
|
|
|
from_secret: cos_secret_key
|
|
|
|
bucket_url:
|
|
|
|
from_secret: cos_bucket_url
|
|
|
|
source: release/
|
|
|
|
target: product/wslkd
|
2023-07-12 14:41:16 +08:00
|
|
|
strip_prefix: release/
|