Browse Source

feat(对象存储): 使用腾讯云COS

main
xiaoqidun 6 months ago
parent
commit
216b10cfd0
  1. 14
      .drone.yml

14
.drone.yml

@ -11,15 +11,13 @@ steps:
- zip -r fileadmin.zip *
- name: upload
pull: if-not-exists
image: plugins/s3
image: xiaoqidun/gocos
settings:
bucket:
from_secret: minio_bucket
access_key:
from_secret: minio_access_key
secret_id:
from_secret: cos_secret_id
secret_key:
from_secret: minio_secret_key
from_secret: cos_secret_key
bucket_url:
from_secret: cos_bucket_url
source: fileadmin.zip
target: product
path_style: true
endpoint: https://minio.aite.xyz
Loading…
Cancel
Save