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

Pass platform arg for stage state to ContextByName #2990

Merged
merged 1 commit into from Aug 11, 2022

Commits on Aug 10, 2022

  1. Pass platform arg for stage state to ContextByName

    Fixes image build contexts not respecting the platform specified in the
    Dockerfile `FROM --platform` argument.
    Before this change buildkit always resolves images using the target
    platform, but `FROM` may specifiy something else (such as
    $BUILDPLATFORM).
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    cpuguy83 committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    cc6137c View commit details
    Browse the repository at this point in the history