Skip to content

Allow layers to take in files other than .tar and .tar.gz #519

@jeremy-devuyst

Description

@jeremy-devuyst

We've been using bazel-lib tar to make layers for oci_images. It supports adding compress = "zstd".
It has actually been working fine and speeding up our builds quite a bit.
However, as I've updated bazel-lib, the generated tar file now has a .tar.zst extension instead of a .tar extension.
Only now do oci_images complain since they only accept .tar and .tar.gz files.
I'm wondering if it should not already be allowed to take more than just those file extensions since it has been able to handle zstd compressed tars already.

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