drone-upyun-cos-plugins/readme.md
2023-05-09 23:14:15 +08:00

31 lines
975 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# drone plugins for upyun cos
## 项目说明
Drone CI插件能够将文件上传到又拍云对象存储。
## 使用场景
用于将自动构建过程中打包好的二进制文件或资源文件上传到又拍云对象存储中
## 参数说明
| 参数 | 说明 | 备注 |
| ---------------- |--------|-------------|
| up_operator | 操作员名称 | |
| up_password | 操作员密码 | |
| up_bucket | bucket | 服务名称 |
| local_base_path | 本地路径 | 文件或文件夹 |
| remote_base_path | 对象存储路径 | 文件存放路径(文件夹) |
## 使用方式
````yaml
- name: upload-upyun
image: rainteam/upcos:latest
settings:
up_operator:
from_secret: up_operator
up_password:
from_secret: up_password
up_bucket:
from_secret: up_bucket
local_base_path: wechatbot
remote_base_path: gitea/devops
````