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

22 lines
564 B
Text

# Test single platform build
-- Cargo.toml --
[package]
name = "test-app"
version = "0.1.0"
edition = "2021"
[dependencies]
-- src/main.rs --
fn main() {
println!("Hello, world!");
}
# Build for single platform
[linux] exec ./krust build --no-push --platform linux/amd64 .
[linux] stderr 'Building for platform: linux/amd64'
[linux] stderr 'Successfully built image for 1 platform'
[darwin] exec ./krust build --no-push --platform linux/amd64 .
[darwin] stderr 'Building for platform: linux/amd64'
[darwin] stderr 'Successfully built image for 1 platform'