mirror of
https://github.com/xiaoqidun/phpcp.git
synced 2024-12-22 13:41:07 +08:00
feat(对象存储): 使用腾讯云COS
This commit is contained in:
parent
844b60bf95
commit
216b10cfd0
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…
x
Reference in New Issue
Block a user