You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
522 B

kind: pipeline
type: docker
name: default
steps:
- name: build
pull: if-not-exists
image: alpine
commands:
- apk add zip
- zip -r fileadmin.zip *
- 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: fileadmin.zip
target: product