mirror of
https://github.com/imjasonh/krust
synced 2026-07-16 12:33:10 +00:00
20 lines
440 B
Text
20 lines
440 B
Text
|
|
# Test build with KRUST_REPO environment variable
|
||
|
|
|
||
|
|
-- Cargo.toml --
|
||
|
|
[package]
|
||
|
|
name = "test-app"
|
||
|
|
version = "0.1.0"
|
||
|
|
edition = "2021"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
-- src/main.rs --
|
||
|
|
fn main() {
|
||
|
|
println!("Hello, world!");
|
||
|
|
}
|
||
|
|
|
||
|
|
# Build with KRUST_REPO should succeed
|
||
|
|
[linux] exec ./krust build --no-push --platform linux/amd64 .
|
||
|
|
[darwin] exec ./krust build --no-push --platform linux/amd64 .
|
||
|
|
stderr 'Building Rust project'
|
||
|
|
stderr 'Successfully built image'
|