wslkd/.drone.yml
xiaoqidun 95fa32b83e
All checks were successful
continuous-integration/drone/push Build is passing
chore(编译脚本): 添加CI自动编译脚本
2022-11-22 14:55:34 +08:00

25 lines
552 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build
pull: if-not-exists
image: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
commands:
- chmod +x build.sh
- ./build.sh
- name: upload
image: hkccr.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/