docs(更新说明): 更新说明

This commit is contained in:
xiaoqidun 2020-12-25 11:39:38 +08:00
parent 1e9aa6af24
commit 594981b87c

View File

@ -1,14 +1,16 @@
# GoCOS # GoCOS
腾讯云对象存储(COS)Drone CI插件
腾讯云对象存储(COS)Drone CI插件COS版本的[AWS S3](http://plugins.drone.io/drone-plugins/drone-s3/)
# Drone CI配置例子 # Drone CI配置例子
```yml ```yml
kind: pipeline kind: pipeline
type: docker type: docker
name: default name: default
steps: steps:
- name: upload - name: upload
image: xiaoqidun/gocos image: xiaoqidun/gocos
settings: settings:
secret_id: secret_id:
@ -23,20 +25,27 @@ steps:
``` ```
# Drone CI配置说明 # Drone CI配置说明
### secret_id ### secret_id
API密钥管理获得的SecretId API密钥管理获得的SecretId
### secret_key ### secret_key
API密钥管理获得的SecretKey API密钥管理获得的SecretKey
### bucket_url ### bucket_url
存储桶概览中的访问域名 存储桶概览中的访问域名
### source ### source
DroneCI中文件的源位置 DroneCI中文件的源位置
### target ### target
存储桶中文件的目标位置 存储桶中文件的目标位置
### strip_prefix ### strip_prefix
从文件的源位置剔除前缀 从文件的源位置剔除前缀