xiaoqidun e528f2ddf4
All checks were successful
continuous-integration/drone/push Build is passing
feat(更新版本): 更新版本
2024-04-07 13:38:13 +08:00
2024-01-10 11:42:19 +08:00
2020-12-24 10:10:59 +08:00
2024-02-13 00:57:02 +08:00
2024-04-07 13:38:13 +08:00
2024-03-13 16:55:55 +08:00
2020-12-24 10:01:55 +08:00
2023-10-07 00:03:23 +08:00

GoCOS

腾讯云对象存储(COS)Drone CI插件AWS S3的COS实现

Drone CI配置例子

kind: pipeline
type: docker
name: default

steps:
  - name: upload
    image: ccr.ccs.tencentyun.com/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

DroneCI中文件的源位置

target

存储桶中文件的目标位置

strip_prefix

从文件的源位置剔除前缀

Description
No description provided
Readme MIT
Languages
Go 93.9%
Dockerfile 6.1%