
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
A docker image built through github action with git commit version tag
I found that shinobi's docker image is difficult to find. The code on https://github.com/ShinobiCCTV/Shinobi is no longer up to date. The image on docker https://hub.docker.com/r/shinobisystems/shinobi is very old and no ARM support.
Since shinobi has moved https://gitlab.com/Shinobi-Systems/Shinobi and published the image to the gitlab https://gitlab.com/Shinobi-Systems/Shinobi/container_registry, it is limited by the gitlab ci build cannot be released in time, and the old image cannot be retained because there is no really version number.
After reviewing the following items
This project will use github action and Docker Hub build and publish images, and try to keep it as clean without custom configuration file.
The images of this project will be published to Docker Hub https://hub.docker.com/r/xiaoyao9184/shinobi.
Since there is no really version number, and cannot create a image for each commit, so an good idea use manually trigger the action and tag it with commit id. See https://damienaicheh.github.io/github/actions/2022/01/20/set-dynamic-parameters-github-workflows-en.html article for more details.
Default image name format is ${DOCKER_USERNAME}/${image_name},
the image_name filled in when you manually trigger the action.
Default image tag format is ${BRANCH_PREFIX}${ARCH_TYPE}${NO_DB_SUFIX},
Very similar with https://gitlab.com/Shinobi-Systems/Shinobi/-/blob/0aef86bdf443381250eda82567ba56940fd1d99b/.gitlab-ci.yml#L13-L10.
BRANCH_PREFIX same as commit_id filled in when you manually trigger the action,
ARCH_TYPE only allowed -amd64 or -nvidia or -arm32v7 or -arm64v8,
NO_DB_SUFIX only allowed -no-db or ``,
like this, each tag only support one platform:
| Tag | Platforms |
|---|---|
| master-amd64 | linux/amd64 |
| master-amd64-no-db | linux/amd64 |
| master-arm32v7 | linux/arm/v7 |
| master-arm32v7-no-db | linux/arm/v7 |
| master-arm64v8 | linux/arm64 |
| master-arm64v8-no-db | linux/arm64 |
| master-nvidia | linux/amd64 |
| master-nvidia-no-db | linux/amd64 |
Two special tags merge multiple platforms:
| Tag | Sameas | Platforms |
|---|---|---|
| master | master-amd64 | linux/amd64 |
| master-arm32v7 | linux/arm/v7 | |
| master-arm64v8 | linux/arm64 | |
| master-no-db | master-amd64-no-db | linux/amd64 |
| master-arm32v7-no-db | linux/arm/v7 | |
| master-arm64v8-no-db | linux/arm64 |
If you want to fixed version and this project does not provide,
you can fork this project and build it your own image.
You need to set two repository variables,
DOCKERHUB_USERNAME and DOCKERHUB_TOKEN. see https://github.com/docker/login-action#docker-hub
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务