ihash/.drone.yml

27 lines
687 B
YAML
Raw Normal View History

2020-08-11 18:08:38 +08:00
kind: pipeline
type: docker
name: default
steps:
2021-09-07 12:02:56 +08:00
- name: generate
pull: if-not-exists
image: hkccr.ccs.tencentyun.com/xiaoqidun/build
commands:
- build -f build.sh -i ihash.go -o release/ihash
2020-08-11 18:08:38 +08:00
- name: build
pull: if-not-exists
2021-09-24 10:03:03 +08:00
image: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
2020-08-11 18:08:38 +08:00
commands:
2021-09-07 12:02:56 +08:00
- ./build.sh
- name: upload
2021-09-24 10:03:03 +08:00
image: hkccr.ccs.tencentyun.com/xiaoqidun/gocos
2021-09-07 12:02:56 +08:00
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/ihash
strip_prefix: release/