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

bake: fix entitlements path checks for local outputs #2834

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 2, 2024

  1. bake: fix entitlements path checks for local outputs

    Previous check based on dest attributes was not correct
    as the attributes already get converted before validation happens.
    
    Because the local path is not preserved for single-file
    outputs and gets replaced by io.Writer, a temporary array variable
    was needed. This value should instead be added to ExportEntry
    struct in BuildKit in future revision.
    
    Signed-off-by: Tonis Tiigi <[email protected]>
    tonistiigi committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    c6e403a View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2024

  1. bake: allow entitlements from overrides automatically

    If override specifies a path, mark it automatically allowed
    so there is no need to use duplicate flags for defining the
    same feature.
    
    Signed-off-by: Tonis Tiigi <[email protected]>
    tonistiigi committed Dec 3, 2024
    Configuration menu
    Copy the full SHA
    dd596d6 View commit details
    Browse the repository at this point in the history