加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.drone.yml 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
Bill Maxwell 提交于 2018-12-04 22:10 . change regs to refs (#62)
---
pipeline:
build:
image: rancher/dapper:1.11.2
commands:
- dapper ci
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
ref:
exclude: [ refs/tags/*stable* ]
promote_stable:
image: rancher/dapper:1.11.2
commands:
- dapper promote
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
branch: release/*
event: tag
ref:
include: [ refs/tags/*stable* ]
publish-alpha:
image: plugins/gcs
source: charts/alpha
target: releases.rancher.com/server-charts/alpha
acl:
- allUsers:READER
cache_control: public,max-age=3600
secrets:
- source: google_auth_key
target: GOOGLE_CREDENTIALS
when:
branch: [master, release/*]
event: tag
ref:
include: [ refs/tags/*alpha* ]
publish-latest:
image: plugins/gcs
source: charts/latest
target: releases.rancher.com/server-charts/latest
acl:
- allUsers:READER
cache_control: public,max-age=3600
secrets:
- source: google_auth_key
target: GOOGLE_CREDENTIALS
when:
branch: release/*
event: tag
ref:
exclude: [ refs/tags/*stable*, refs/tags/*alpha* ]
publish-stable:
image: plugins/gcs
source: charts/stable
target: releases.rancher.com/server-charts/stable
acl:
- allUsers:READER
cache_control: public,max-age=3600
secrets:
- source: google_auth_key
target: GOOGLE_CREDENTIALS
when:
branch: release/*
event: tag
ref:
include: [ refs/tags/*stable* ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化