我正在考虑如何使用bitbucket、drone.io、hub.docker.com和setup (Aws ec2)集群来设置持续的集成和部署?
我想不出怎么设置第三步.
发布于 2015-12-22 20:10:27
例如,向您的.drone.yml添加
publish:
docker:
username: octocat
password: password
email: octocat@github.com
repo: octocat/hello-world
tag: latest
when:
success: true
deploy:
webhook:
urls:
- https://your.webhook/...
header:
Authorization: pa55word
X-Docker-Image: name_of_your_image:latest
when:
success: true这将使用码头插件执行发布步骤,然后命中URL端点,使用网钩插件。将发布的映像部署到集成环境中
https://stackoverflow.com/questions/33851711
复制相似问题