mirror of
https://github.com/ko-build/ko.git
synced 2025-11-26 22:40:38 +02:00
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>
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
mkdocsandmkdocs-materialand runmkdocs serve, or docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material- on an M1 Mac, use
ghcr.io/afritzler/mkdocs-materialinstead.
- on an M1 Mac, use
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.