mirror of
https://github.com/imjasonh/krust
synced 2026-07-08 06:45:32 +00:00
Add Cargo.toml-based configuration for base image
- Add support for [package.metadata.krust] in Cargo.toml - Change default base image to cgr.dev/chainguard/static:latest - Add ProjectConfig struct to load project-specific settings - Update documentation and example to show configuration usage - Fix integration tests to explicitly pass directory argument - This is the idiomatic way for Rust build tools to be configured
This commit is contained in:
parent
5d254c7eca
commit
11083dc527
6 changed files with 74 additions and 7 deletions
|
|
@ -4,3 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
||||
# Example: Configure krust to use a specific base image for this project
|
||||
[package.metadata.krust]
|
||||
base-image = "cgr.dev/chainguard/static:latest"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue