gitcz/.drone.yml

27 lines
637 B
YAML
Raw Normal View History

2020-08-11 18:07:46 +08:00
kind: pipeline
type: docker
name: default
steps:
2021-09-07 11:25:20 +08:00
- name: generate
pull: if-not-exists
image: hkccr.ccs.tencentyun.com/xiaoqidun/build
commands:
- build -f build.sh -i gitcz.go -o release/gitcz
2020-08-11 18:07:46 +08:00
- name: build
pull: if-not-exists
2021-09-07 11:25:20 +08:00
image: xiaoqidun/goenv
2020-08-11 18:07:46 +08:00
commands:
2021-09-07 11:33:45 +08:00
- ./build.sh
2021-09-07 11:25:20 +08:00
- name: upload
image: 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/gitcz
strip_prefix: release/