Skip to content

Feat: Add docker image release workflow #975

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

XuHandsome
Copy link
Contributor

@XuHandsome XuHandsome commented Jan 13, 2025

About This PR

  • 新增workflow,创建Release后触发,使用当前tag制品构建docker镜像并推送至DockerHub,linux/arm64和linux/amd64两个架构。
  • 除Release触发外, 也支持手动指定tag运行该workflow。
  • 新增docker镜像使用说明。

依赖说明

  1. 需要仓库管理员配置repository secrets,新增DOCKERHUB_USERNAMEDOCKERHUB_PASSWORD
  2. 上面的DOCKERHUB_USERNAME 我先入为主,用作者github id nilaoda写到了README.md中,作者可以修改为自己的dockerhub账号,以及相关文档内容

效果图

image
image

Actions运行效果请移步我的fork地址查看

做好发现已经有个小伙伴提了PR,作者酌情合并即可

@XuHandsome
Copy link
Contributor Author

另外我发现build-linux-x64-arm64已经无法成功运行,如果需要, 我也可以合并验证运行成功的steps过来。

@nilaoda
Copy link
Owner

nilaoda commented Jan 13, 2025

感谢贡献代码。等有空我瞅瞅。

actions报错问题可以新开一个PR

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

Successfully merging this pull request may close these issues.

2 participants