ci: Cleanup the cargo registry in the images

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
This commit is contained in:
Jordan Petridis 2024-07-29 15:40:24 +03:00 committed by GStreamer Marge Bot
parent 6ebf8de722
commit 2cd382af73

View file

@ -24,3 +24,7 @@ cargo install --locked cargo-c --version 0.10.5+cargo-0.83.0
rustup --version rustup --version
cargo --version cargo --version
rustc --version rustc --version
# Cleanup the registry after install
# so we don't have to save 200mb of the index in the ci image
rm -rf "$CARGO_HOME/registry"