mirror of
https://github.com/xiaoqidun/phpcp.git
synced 2024-11-22 08:56:46 +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 *
|
- zip -r fileadmin.zip *
|
||||||
- name: upload
|
- name: upload
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/s3
|
image: xiaoqidun/gocos
|
||||||
settings:
|
settings:
|
||||||
bucket:
|
secret_id:
|
||||||
from_secret: minio_bucket
|
from_secret: cos_secret_id
|
||||||
access_key:
|
|
||||||
from_secret: minio_access_key
|
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: minio_secret_key
|
from_secret: cos_secret_key
|
||||||
|
bucket_url:
|
||||||
|
from_secret: cos_bucket_url
|
||||||
source: fileadmin.zip
|
source: fileadmin.zip
|
||||||
target: product
|
target: product
|
||||||
path_style: true
|
|
||||||
endpoint: https://minio.aite.xyz
|
|
Loading…
x
Reference in New Issue
Block a user