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

feat: 支持推送多架构镜像到oci仓库 #1689 #1693

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

Conversation

scplsy
Copy link
Collaborator

@scplsy scplsy commented Jan 23, 2024

issue:

  1. 支持推送多架构镜像到oci仓库 #1689

描述:

  1. oci本地仓库支持上传多架构镜像,新增对fat manifest文件类型的处理逻辑。
  2. 上传多架构镜像时,对于fat manifest会单独创建版本,并以tag作为其版本号;对于具体架构的manifest则另行创建以sha256:xxx格式为版本号的版本(以下称为摘要版本)。
  3. 摘要版本的页面使用指引进行特殊处理( docker pull image:sha256:xxx更改为docker pull image@sha256:xxx)(另行提交pr)。
  4. OciManifestArtifactInfo生成fullPath的逻辑是暂时的,在后续提交pr新增OCI远程仓库对fat manifest的支持时,将对这部分逻辑进行修改。
  5. 兼容原有镜像,对原本的功能没有影响。

@scplsy scplsy requested a review from zacYL March 15, 2024 08:56
@tencentblueking-adm
Copy link

tencentblueking-adm commented Apr 16, 2024

CLA assistant check
All committers have signed the CLA.

@zacYL
Copy link
Collaborator

zacYL commented May 21, 2024

针对这种多架构的,那如果需要进行分发, 对应的分发服务应该也需要修改吧

@cnlkl cnlkl added the wip work in progess label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wip work in progess
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants