mirror of
https://github.com/xiaoqidun/wslkd.git
synced 2024-11-24 02:16:45 +08:00
26 lines
590 B
YAML
26 lines
590 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
node:
|
|
region: cn
|
|
steps:
|
|
- name: build
|
|
pull: if-not-exists
|
|
image: ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
|
commands:
|
|
- chmod +x build.sh
|
|
- ./build.sh
|
|
- name: upload
|
|
pull: if-not-exists
|
|
image: ccr.ccs.tencentyun.com/xiaoqidun/gocos
|
|
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
|
|
strip_prefix: release/ |