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

build: refactor reference parsing for oci image layouts #1456

Merged
merged 2 commits into from
Jan 6, 2023

Commits on Dec 14, 2022

  1. build: refactor reference parsing for image layouts

    We allow any valid image reference format for the oci-layout, not just
    limiting to name@digest, we additionally allow images of the form
    name:tag@digest now.
    
    The name of the reference is used to find the local directory to lookup
    the store in, while the tag and digest are attached to a random identity
    to generate the dummy reference sent to the oci-layout context.
    
    This separation of the target to replace and the value to replace it
    with ensures that any tag or digest set in the client is properly sent
    across to the server. The tag is used when a digest was not specified,
    and it is resolved in the context of the local directory before being
    sent, using the same helpers as we use for the local cache expoter.
    
    Signed-off-by: Justin Chadwell <me@jedevc.com>
    jedevc committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    70682b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. docs: update oci layout with tag resolution

    Signed-off-by: Justin Chadwell <me@jedevc.com>
    jedevc committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    1885e41 View commit details
    Browse the repository at this point in the history