wslkd/.drone.yml
xiaoqidun 1ce536481c
All checks were successful
continuous-integration/drone/push Build is passing
chore(构建脚本): 调整构建脚本
2024-06-23 22:50:23 +08:00

25 lines
576 B
YAML

---
kind: pipeline
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/