1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-08 06:45:32 +00:00
krust/tests/testdata/build_requires_repo.txt
Jason Hall e47442d04d successfully pushed to GAR
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-10-15 11:58:05 -04:00

17 lines
319 B
Text

# Test that build fails without KRUST_REPO or --image
-- Cargo.toml --
[package]
name = "test-app"
version = "0.1.0"
edition = "2021"
[dependencies]
-- src/main.rs --
fn main() {
println!("Hello, world!");
}
# Build without KRUST_REPO should fail
! exec ./krust build --no-push .
stderr 'KRUST_REPO must be set'