docker proxy: Digest 与 docker hub 不同

Summary

在 SaaS 上试用新功能 https://docs.gitlab.cn/jh/user/packages/dependency_proxy/

发现问题

Steps to reproduce

  1. docker login jihulab.com
  2. docker pull jihulab.com/your-group/dependency_proxy/containers/nginx
  3. docker pull nginx
  4. docker pull nginx:1.23.2

What is the current bug behavior?

Digest 与 docker hub 不同,进行了重复下载

image

What is the expected correct behavior?

两个 image 的 Digest 相同,不需要重复下载

image