wslkd/.drone.yml

26 lines
590 B
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: default
2023-07-07 14:30:06 +08:00
node:
region: cn
steps:
- name: build
pull: if-not-exists
2023-07-07 14:30:06 +08:00
image: ccr.ccs.tencentyun.com/xiaoqidun/goenv
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
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/