mirror of
https://github.com/xiaoqidun/phpcp.git
synced 2024-09-08 00:48:03 +08:00
22 lines
523 B
YAML
22 lines
523 B
YAML
kind: pipeline
|
|
name: default
|
|
node:
|
|
region: cn
|
|
steps:
|
|
- name: build
|
|
pull: if-not-exists
|
|
image: alpine
|
|
commands:
|
|
- apk add zip
|
|
- zip -r fileadmin.zip *
|
|
- name: upload
|
|
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: fileadmin.zip
|
|
target: product |