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

This commit is contained in:
xiaoqidun 2020-12-24 11:42:08 +08:00
parent 844b60bf95
commit 216b10cfd0

View File

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