Docker + Drone CI/CD 实践

原文连接http://www.khs1994.com/ci/dro...html

测试环境:macOS + Drone + Gogs + Docker Registrygit

生产环境:Debian 9 + Drone + GitHub + 腾讯云容器服务github

官方网站:http://drone.io/docker

GitHub:https://github.com/dronebash

GitHub: https://github.com/khs1994-do...测试

GitHub: https://github.com/khs1994-dr...网站

安装

请使用或升级到最新 0.8 版本。code

编写 docker-compose.yml,示例文件请到 这里 查看。server

注意:0.8 版本的 drone-serverdrone-agent image 不一样。

与 GitHub 或 Gogs 集成请参考官方文档 http://docs.drone.io 的配置。一些说明能够查看中文文档 http://docs.drone.io/zh/htm

以后使用如下命令启动便可

$ docker-compose up -d
安装详情请参考 https://github.com/yeasy/dock...

使用

与 Travis CI 相似,项目中包含 .drone.yml 便可使用。

使用文档请查看 这里

本站介绍的使用方法请查看 这里

示例

相关文章
相关标签/搜索