Skip to content

export and import --mount=type=cache caches #1474

@databus23

Description

@databus23

I'm wondering if its possible to save and restore cache mounts. I'm running buildkit in a CI environment where consecutive build of tasks are executed on different worker nodes.
The current --import-cache/--export-cache feature only seems to work on on the resulting layers but does not include the cache mounts.
Is there a way to export and import those cleanly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions