mirror of
https://github.com/xiaoqidun/gocos.git
synced 2024-11-23 23:06:44 +08:00
Compare commits
2 Commits
1e9aa6af24
...
f58a05391e
Author | SHA1 | Date | |
---|---|---|---|
f58a05391e | |||
594981b87c |
13
README.md
13
README.md
@ -1,14 +1,16 @@
|
||||
# GoCOS
|
||||
腾讯云对象存储(COS),Drone CI插件
|
||||
|
||||
腾讯云对象存储(COS),Drone CI插件,[AWS S3](http://plugins.drone.io/drone-plugins/drone-s3/)的COS实现
|
||||
|
||||
# Drone CI配置例子
|
||||
|
||||
```yml
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: upload
|
||||
- name: upload
|
||||
image: xiaoqidun/gocos
|
||||
settings:
|
||||
secret_id:
|
||||
@ -23,20 +25,27 @@ steps:
|
||||
```
|
||||
|
||||
# Drone CI配置说明
|
||||
|
||||
### secret_id
|
||||
|
||||
API密钥管理获得的SecretId
|
||||
|
||||
### secret_key
|
||||
|
||||
API密钥管理获得的SecretKey
|
||||
|
||||
### bucket_url
|
||||
|
||||
存储桶概览中的访问域名
|
||||
|
||||
### source
|
||||
|
||||
DroneCI中文件的源位置
|
||||
|
||||
### target
|
||||
|
||||
存储桶中文件的目标位置
|
||||
|
||||
### strip_prefix
|
||||
|
||||
从文件的源位置剔除前缀
|
Loading…
x
Reference in New Issue
Block a user