phpcp/.drone.yml

23 lines
497 B
YAML

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: 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