Skip to content

ggcr: use ETags in pkg/v1/remote #1333

Open
@imjasonh

Description

@imjasonh

When pulling a manifest by tag, if the response includes an ETag header, we should hold on to it, and pass it in any future updates to that tag using the If-Match header, as described in this proposal: opencontainers/distribution-spec#250

This prevents race conditions, especially when appending a manifest to an index.

@jonjohnsonjr

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions