https://cloud.docker.com/
- 在github上新建一个organization,防止受权所有我的项目,职责清晰
- 在docker cloud上创立一个organization,关联上github的organization,而后新建一个Repositories
- Repositories的Builds配置一栏抉择Configure Automated Builds,而后抉择github上对应的Repositories,在BUILD RULES上勾销
Build Caching
- 如果咱们想build出版本号,能够在
BUILD RULES
上增加一条Tag
规定 - 之后,咱们往github上push都能够让docker cloud主动帮咱们build image了