mirror of
https://github.com/xiaoqidun/gocos.git
synced 2024-11-23 23:06:44 +08:00
Compare commits
No commits in common. "f58a05391e53c2be1a230832f764033e2aab4b2e" and "1e9aa6af244eef9136a25a78de917e005fa21d31" have entirely different histories.
f58a05391e
...
1e9aa6af24
35
README.md
35
README.md
@ -1,51 +1,42 @@
|
|||||||
# GoCOS
|
# GoCOS
|
||||||
|
腾讯云对象存储(COS),Drone CI插件
|
||||||
腾讯云对象存储(COS),Drone CI插件,[AWS S3](http://plugins.drone.io/drone-plugins/drone-s3/)的COS实现
|
|
||||||
|
|
||||||
# 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:
|
||||||
from_secret: secret_id
|
from_secret: secret_id
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: secret_key
|
from_secret: secret_key
|
||||||
bucket_url:
|
bucket_url:
|
||||||
from_secret: bucket_url
|
from_secret: bucket_url
|
||||||
source: build/release
|
source: build/release
|
||||||
target: build/release
|
target: build/release
|
||||||
strip_prefix: build/release
|
strip_prefix: build/release
|
||||||
```
|
```
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
从文件的源位置剔除前缀
|
从文件的源位置剔除前缀
|
Loading…
x
Reference in New Issue
Block a user