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

feat: add template params for platform info #1302

Merged
merged 1 commit into from
May 15, 2024

Commits on May 15, 2024

  1. feat: add template params for platform info

    This restructures the build logic in order to expand the buildArgs to include:
    
    - `Env`: the actual environment variables used to execute the build. This includes platform info (e.g. `GOOS`, `GOARCH`).
    - `GoEnv`: the map of variables from `go env`, but overridden with any platform-specific values defined in `Env`.
    
    Fixes ko-build#1301
    
    Signed-off-by: Nathan Mittler <[email protected]>
    nmittler committed May 15, 2024
    Configuration menu
    Copy the full SHA
    7113a89 View commit details
    Browse the repository at this point in the history