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

registry: update blob mount behaviour when from parameter is missing (PROJQUAY-2570) #899

Merged
merged 1 commit into from Sep 23, 2021

Commits on Sep 21, 2021

  1. registry: update blob mount behaviour when from parameter is missing …

    …(PROJQUAY-2570)
    
    Update the behaviour when attempting to mount existing blob whenever
    the `from` parameter is missing. Currently, Quay throws an Bad Request
    error whenever the `from parameter is missing. However, according to
    the specs (Docker Registry and OCI dist-spec), we should be falling
    back to the default upload behaviour.
    
    References:
      - https://docs.docker.com/registry/spec/api/#pushing-an-image
      -
      https://github.com/opencontainers/distribution-spec/blob/main/spec.md#mounting-a-blob-from-another-repository
      - https://github.com/opencontainers/distribution-spec/pull/275/files
    kleesc committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    7b7c55c View commit details
    Browse the repository at this point in the history