Jump To Close Expand all Collapse all Table of contents 使用 Red Hat Quay 前言 1. Red Hat Quay 中的用户和机构 Expand section "1. Red Hat Quay 中的用户和机构" Collapse section "1. Red Hat Quay 中的用户和机构" 1.1. Red Hat Quay 租期模型 1.2. 创建用户帐户 1.3. 创建机构帐户 2. 创建软件仓库 Expand section "2. 创建软件仓库" Collapse section "2. 创建软件仓库" 2.1. 通过 UI 创建镜像存储库 2.2. 通过 docker 或 podman 创建镜像存储库 3. 管理对软件仓库的访问 Expand section "3. 管理对软件仓库的访问" Collapse section "3. 管理对软件仓库的访问" 3.1. 允许访问用户软件仓库 Expand section "3.1. 允许访问用户软件仓库" Collapse section "3.1. 允许访问用户软件仓库" 3.1.1. 允许用户访问用户存储库 3.2. 允许机器访问用户存储库 3.3. 允许访问机构存储库 Expand section "3.3. 允许访问机构存储库" Collapse section "3.3. 允许访问机构存储库" 3.3.1. 将团队添加到机构中 3.3.2. 设置团队角色 3.3.3. 将用户添加到团队 4. 使用标签 Expand section "4. 使用标签" Collapse section "4. 使用标签" 4.1. 查看和修改标签 Expand section "4.1. 查看和修改标签" Collapse section "4.1. 查看和修改标签" 4.1.1. 将新标签添加到标记的镜像 4.1.2. 移动标签 4.1.3. 删除标签 4.1.4. 查看标签历史记录并恢复时间 Expand section "4.1.4. 查看标签历史记录并恢复时间" Collapse section "4.1.4. 查看标签历史记录并恢复时间" 4.1.4.1. 查看标签历史记录 4.1.4.2. 返回一段时间 4.1.5. 通过标签或摘要获取镜像 4.2. 标签过期 Expand section "4.2. 标签过期" Collapse section "4.2. 标签过期" 4.2.1. 从 Dockerfile 设置标签过期 4.2.2. 从仓库中设置标签过期 4.3. 安全扫描 5. 查看和导出日志 Expand section "5. 查看和导出日志" Collapse section "5. 查看和导出日志" 5.1. 查看日志 5.2. 导出存储库日志 6. 使用构建 worker 自动构建 Dockerfile Expand section "6. 使用构建 worker 自动构建 Dockerfile" Collapse section "6. 使用构建 worker 自动构建 Dockerfile" 6.1. 架构概述 Expand section "6.1. 架构概述" Collapse section "6.1. 架构概述" 6.1.1. 构建管理器 6.1.2. 构建 worker 的 control plane 6.1.3. 编配器 6.2. OpenShift 要求 6.3. 编配器要求 6.4. 使用 OpenShift 设置 Red Hat Quay Builder Expand section "6.4. 使用 OpenShift 设置 Red Hat Quay Builder" Collapse section "6.4. 使用 OpenShift 设置 Red Hat Quay Builder" 6.4.1. OpenShift TLS 组件 6.4.2. Prepare OpenShift for Red Hat Quay Builds 6.4.3. 启用构建器并在 Red Hat Quay 的配置捆绑包中添加构建配置 6.5. OpenShift 路由限制 6.6. 构建故障排除 Expand section "6.6. 构建故障排除" Collapse section "6.6. 构建故障排除" 6.6.1. DEBUG 配置标志 6.7. 设置 GitHub 构建(可选) 7. 构建 Dockerfile Expand section "7. 构建 Dockerfile" Collapse section "7. 构建 Dockerfile" 7.1. 查看和管理构建 7.2. 手动启动构建 7.3. 构建触发器 Expand section "7.3. 构建触发器" Collapse section "7.3. 构建触发器" 7.3.1. 创建新构建触发器 7.3.2. 手动触发构建触发器 7.3.3. 构建上下文 8. 设置自定义 Git Trigger Expand section "8. 设置自定义 Git Trigger" Collapse section "8. 设置自定义 Git Trigger" 8.1. 创建触发器 8.2. 触发器创建后设置 Expand section "8.2. 触发器创建后设置" Collapse section "8.2. 触发器创建后设置" 8.2.1. SSH 公钥访问 8.2.2. Webhook 9. 跳过源控制触发构建 10. 设置 GitHub 构建触发器标签 Expand section "10. 设置 GitHub 构建触发器标签" Collapse section "10. 设置 GitHub 构建触发器标签" 10.1. 了解构建触发器的标签命名 10.2. 为构建触发器设置标签名称 11. 在 GitHub 中创建 OAuth 应用程序 Expand section "11. 在 GitHub 中创建 OAuth 应用程序" Collapse section "11. 在 GitHub 中创建 OAuth 应用程序" 11.1. 创建新 GitHub 应用程序 12. 仓库通知 Expand section "12. 仓库通知" Collapse section "12. 仓库通知" 12.1. 仓库事件 Expand section "12.1. 仓库事件" Collapse section "12.1. 仓库事件" 12.1.1. 存储库 Push 12.1.2. Dockerfile 构建队列 12.1.3. Dockerfile 构建已启动 12.1.4. Dockerfile 构建成功完成 12.1.5. Dockerfile 构建失败 12.1.6. Dockerfile 构建取消 12.1.7. 安全漏洞已弃用 12.2. 通知操作 Expand section "12.2. 通知操作" Collapse section "12.2. 通知操作" 12.2.1. Quay 通知 12.2.2. 电子邮件 12.2.3. Webhook POST 12.2.4. Flowdock 通知 12.2.5. HipChat 通知 12.2.6. Slack 通知 13. OCI 支持和 Red Hat Quay Expand section "13. OCI 支持和 Red Hat Quay" Collapse section "13. OCI 支持和 Red Hat Quay" 13.1. Helm 和 OCI 的先决条件 13.2. 带有 Red Hat Quay 的 Helm chart Expand section "13.2. 带有 Red Hat Quay 的 Helm chart" Collapse section "13.2. 带有 Red Hat Quay 的 Helm chart" 13.2.1. 在 Red Hat Quay 中使用 Helm chart 13.3. OCI 和 Helm 配置字段 13.4. 使用 Red Hat Quay 进行 OCI 支持 13.5. 使用带有 quay 的 cosign 13.6. 在 Quay 中添加其他 OCI 介质类型 13.7. 在 Quay 中禁用 OCI 工件 14. Red Hat Quay 配额管理和强制 Expand section "14. Red Hat Quay 配额管理和强制" Collapse section "14. Red Hat Quay 配额管理和强制" 14.1. 配额管理架构 14.2. 配额管理限制 14.3. 配额管理配置 Expand section "14.3. 配额管理配置" Collapse section "14.3. 配额管理配置" 14.3.1. 默认配额 14.4. 使用 Red Hat Quay API 建立配额 Expand section "14.4. 使用 Red Hat Quay API 建立配额" Collapse section "14.4. 使用 Red Hat Quay API 建立配额" 14.4.1. 设置配额 14.4.2. 查看配额 14.4.3. 修改配额 14.4.4. 推送镜像 Expand section "14.4.4. 推送镜像" Collapse section "14.4.4. 推送镜像" 14.4.4.1. 推送 ubuntu:18.04 14.4.4.2. 使用 API 查看配额用量 14.4.4.3. 推送另一个镜像 14.4.5. 使用配额限制拒绝推送 Expand section "14.4.5. 使用配额限制拒绝推送" Collapse section "14.4.5. 使用配额限制拒绝推送" 14.4.5.1. 设置 reject 和 warning 限制 14.4.5.2. 查看拒绝和警告限制 14.4.5.3. 超过 reject 限制时推送镜像 14.4.5.4. 超过限制的通知 15. Red Hat Quay 作为上游 registry 的代理缓存 Expand section "15. Red Hat Quay 作为上游 registry 的代理缓存" Collapse section "15. Red Hat Quay 作为上游 registry 的代理缓存" 15.1. 代理缓存架构 15.2. 代理缓存限制 15.3. 使用 Red Hat Quay 代理远程 registry Expand section "15.3. 使用 Red Hat Quay 代理远程 registry" Collapse section "15.3. 使用 Red Hat Quay 代理远程 registry" 15.3.1. 在代理机构中利用存储配额限制 Expand section "15.3.1. 在代理机构中利用存储配额限制" Collapse section "15.3.1. 在代理机构中利用存储配额限制" 15.3.1.1. 在代理机构中测试存储配额限制功能 16. Red Hat Quay 构建功能增强 Expand section "16. Red Hat Quay 构建功能增强" Collapse section "16. Red Hat Quay 构建功能增强" 16.1. Red Hat Quay 增强的构建架构 16.2. Red Hat Quay 构建限制 16.3. 使用 OpenShift Container Platform 创建 Red Hat Quay 构建程序环境 Expand section "16.3. 使用 OpenShift Container Platform 创建 Red Hat Quay 构建程序环境" Collapse section "16.3. 使用 OpenShift Container Platform 创建 Red Hat Quay 构建程序环境" 16.3.1. OpenShift Container Platform TLS 组件 16.3.2. 将 OpenShift Container Platform 用于 Red Hat Quay 构建器 Expand section "16.3.2. 将 OpenShift Container Platform 用于 Red Hat Quay 构建器" Collapse section "16.3.2. 将 OpenShift Container Platform 用于 Red Hat Quay 构建器" 16.3.2.1. 为虚拟构建器准备 OpenShift Container Platform 16.3.2.2. 手动添加 SSL/TLS 证书 Expand section "16.3.2.2. 手动添加 SSL/TLS 证书" Collapse section "16.3.2.2. 手动添加 SSL/TLS 证书" 16.3.2.2.1. 创建和签名证书 16.3.2.2.2. 将 TLS 设置为非受管 16.3.2.2.3. 创建临时 secret 16.3.2.2.4. 将 secret 数据复制到配置 YAML 中 16.3.2.3. 使用 UI 创建构建触发器 16.3.2.4. 修改 AWS S3 存储桶 16.3.2.5. 修改 Google Cloud Platform 对象存储桶 17. 使用 Red Hat Quay API Expand section "17. 使用 Red Hat Quay API" Collapse section "17. 使用 Red Hat Quay API" 17.1. 从 Quay.io 访问 Quay API 17.2. 创建 OAuth 访问令牌 17.3. 从 Web 浏览器访问 Quay API 17.4. 从命令行访问 Red Hat Quay API Expand section "17.4. 从命令行访问 Red Hat Quay API" Collapse section "17.4. 从命令行访问 Red Hat Quay API" 17.4.1. 获取超级用户信息 17.4.2. 使用 API 创建超级用户 17.4.3. 列出用量日志 Expand section "17.4.3. 列出用量日志" Collapse section "17.4.3. 列出用量日志" 17.4.3.1. 分页示例 17.4.4. 目录同步 17.4.5. 通过 API 创建存储库构建 17.4.6. 创建机构机器 17.4.7. 触发构建 17.4.8. 创建私有存储库 17.4.9. 创建已镜像的存储库 法律通告 Settings Close Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page 6.7. 设置 GitHub 构建(可选) 如果您的组织计划通过推送到 GitHub (或 GitHub Enterprise)进行构建,继续在 GitHub 中创建 OAuth 应用程序。 Previous Next