mirror of
https://github.com/xiaoqidun/wslkd.git
synced 2025-01-15 17:34:59 +08:00
chore(编译脚本): 添加CI自动编译脚本
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
24
.drone.yml
Normal file
24
.drone.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
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/
|
Reference in New Issue
Block a user