1
0
mirror of https://github.com/ko-build/ko.git synced 2025-11-26 22:40:38 +02:00
Files
ko-build/docs
Nathan Mittler c42ee5f028 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 #1301

Signed-off-by: Nathan Mittler <nmittler@aviatrix.com>
2024-05-15 14:49:18 -04:00
..
2024-04-18 21:02:48 +09:00
2023-11-08 15:25:24 +00:00
2024-02-27 11:59:38 -05:00
2024-05-06 07:49:14 -04:00

Docs for https://ko.build

Development

Update .md files to update content.

Update mkdocs.yml to update sidebar headers and ordering.

To run locally:

  • install mkdocs and mkdocs-material and run mkdocs serve, or
  • docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
    • on an M1 Mac, use ghcr.io/afritzler/mkdocs-material instead.

This will start a local server on localhost:8000 that autoupdates as you make changes.

Deployment

When PRs are merged, the site will be rebuilt and published automatically.

Credits

The site is powered by mkdocs-material. The code and theme are released under the MIT license.

Content is licensed CC-BY.