diff --git a/Earthfile b/Earthfile index a431c51cf..f502c102f 100644 --- a/Earthfile +++ b/Earthfile @@ -46,7 +46,7 @@ source: cross-build: FROM +source ARG --required TARGET - DO rust+RUN_WITH_CACHE --$with_docker="--load ghcr.io/cross-rs/$TARGET:v0.2.5" --command="cross build --target $TARGET --release" --output="target/$TARGET/release/atomic-server" + DO rust+RUN_WITH_CACHE --$with_docker="--load ghcr.io/cross-rs/$TARGET:v0.2.5" --command="cross build --target $TARGET --release" SAVE ARTIFACT ./target/$TARGET/release/atomic-server AS LOCAL artifact/bin/atomic-server-$TARGET build: FROM +source