
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
这是一个Concourse 资源,用于与https://developer.github.com/v3/repos/statuses/%E7%B1%BB%E5%9E%8B%E4%BA%A4%E4%BA%92%EF%BC%8C%E5%AE%9E%E7%8E%B0%E4%BB%A3%E7%A0%81%E6%8F%90%E4%BA%A4%E7%8A%B6%E6%80%81%E7%9A%84%E6%9F%A5%E8%AF%A2%E4%B8%8E%E6%9B%B4%E6%96%B0%E3%80%82
repository - 仓库所有者与名称(如 dpb587/github-status-resource)access_token - 具有仓库写入权限的GitHub API令牌(最小范围:repo:status)branch - 监控的分支(默认:master)context - 区分状态的标签(默认:default)endpoint - GitHub API端点(默认:https://api.github.com)skip_ssl_verification - 禁用证书验证(默认:false)check当配置上下文的分支状态更新时触发流水线。
in查询提交状态,输出文件包括:
/commit:提交引用/description:状态描述/state:状态(pending/success/error/failure)/target_url:关联URL/updated_at:更新时间out更新提交状态,参数:
commit - 提交SHA(可来自git目录或文件)state - 状态(必须为pending/success/error/failure)description - 状态描述description_path - 描述文件路径target_url - 关联URL(默认:Concourse构建链接)在单元测试前后更新提交状态:
yaml--- jobs: - name: "单元测试" plan: - get: "repo" trigger: true - put: "repo-status" params: { state: "pending", commit: "repo" } - task: "单元测试" file: "repo/ci/unit-tests/task.yml" on_failure: - put: "repo-status" params: { state: "failure", commit: "repo" } - put: "repo-status" params: { state: "success", commit: "repo" } resources: - name: "repo" type: "git" source: uri: {{repo_uri}} branch: {{repo_branch}} - name: "repo-status" type: "github-status" source: repository: {{repo_github_path}} access_token: {{repo_github_token}}
针对PR #***标记状态:
yamlname: "pr-status" type: "github-status" source: repository: {{repo_github_path}} access_token: {{repo_github_token}} branch: "pull/12345/head"
在所有Concourse worker上安装:
yamlproperties: groundcrew: additional_resource_types: - image: "docker:///dpb587/github-status-resource#master" type: "github-status"
在单个流水线中使用:
yamlresource_types: - name: "github-status" type: "docker-image" source: repository: "dpb587/github-status-resource" tag: "master"
MIT许可证
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务