drone-upyun-cos-plugins/readme.md

31 lines
975 B
Markdown
Raw Permalink Normal View History

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