mirror of
https://github.com/xiaoqidun/gocos.git
synced 2024-12-03 19:19:13 +08:00
.drone.yml | ||
.gitignore | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
gocos.go | ||
LICENSE | ||
README.md |
gocos
腾讯云对象存储,Drone CI插件
Drone CI配置例子
kind: pipeline
type: docker
name: default
steps:
- name: upload
image: xiaoqidun/gocos
settings:
secret_id:
from_secret: secret_id
secret_key:
from_secret: secret_key
bucket_url:
from_secret: bucket_url
source: build/release
target: build/release
strip_prefix: build/release
Drone CI配置说明
secret_id
腾讯云API密钥管理处获得的SecretId
secret_key
腾讯云API密钥管理处获得的SecretKey
bucket_url
存储桶概览中的访问域名
source
文件的源位置
target
存储桶中文件的目标位置
strip_prefix
从文件的源位置剔除前缀