Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

补充Docker镜像使用文档 #3

Open
DCjanus opened this issue May 28, 2019 · 1 comment
Open

补充Docker镜像使用文档 #3

DCjanus opened this issue May 28, 2019 · 1 comment

Comments

@DCjanus
Copy link
Contributor

DCjanus commented May 28, 2019

期望可以在每次master分支commit时检测是否拥有tag,如果有tag就自动触发流程,完成Docker镜像的构建并发布到docker hub。

可以用clux/muslrust:stable作为构建镜像,用alpine作为运行镜像(多阶段构建),详情可参考: https://github.com/DCjanus/nabu/blob/master/Dockerfile

@DCjanus
Copy link
Contributor Author

DCjanus commented May 31, 2019

因为一些原因,部署了自动构建到七牛云,会在每次master分支发生变化时自动触发构建,且只维护最新版本,拉取对应镜像的命令是

docker pull reg.qiniu.com/dcjanus/lernaean:latest

暂时保留该issue提醒自己将来补充文档。

@DCjanus DCjanus changed the title 发布到docker hub 补充Docker镜像使用文档 May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant