docker proxy 有时候报错 404

Summary

Steps to reproduce

  1. 在 SaaS CI 中使用 docker proxy,比如:
upload_apk:
  stage: deploy
  image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/rancher/curlimages-curl:7.73.0
  script:
    - echo "hello"
  1. 多运行几次,有时候 404,有时候成功

Example Project

https://jihulab.com/ultimate-plan/jihu-gitlab-app/jihu-gitlab-app/-/jobs/5627460

What is the current bug behavior?

报错 404,https://jihulab.com/ultimate-plan/jihu-gitlab-app/jihu-gitlab-app/-/jobs/5627460

ERROR: Job failed: failed to pull image "jihulab.com:443/ultimate-plan/dependency_proxy/containers/rancher/curlimages-curl:7.73.0" with specified policies [always]: Error response from daemon: error parsing HTTP 404 response body: unexpected end of JSON input: "" (manager.go:237:0s)

What is the expected correct behavior?

成功 https://jihulab.com/ultimate-plan/jihu-gitlab-app/jihu-gitlab-app/-/jobs/5630788

Relevant logs and/or screenshots

image