Cache Bedrock release builds on the deployment runner
This commit is contained in:
@@ -6,6 +6,8 @@ mkdir -p "$output"
|
||||
docker run --rm \
|
||||
--mount "type=bind,source=$PWD,target=/work,readonly" \
|
||||
--mount "type=bind,source=$output,target=/out" \
|
||||
--mount type=volume,source=bedrock-cargo-target,target=/tmp/bedrock-target \
|
||||
--mount type=volume,source=bedrock-cargo-registry,target=/usr/local/cargo/registry \
|
||||
-w /work -e CARGO_TARGET_DIR=/tmp/bedrock-target \
|
||||
rust:1.91.1-bookworm sh -ec '
|
||||
cargo build --locked --release -p backend
|
||||
|
||||
Reference in New Issue
Block a user