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

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

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