Use slim Rust image for CI builds

This commit is contained in:
Felix Ableitner 2024-12-10 14:42:58 +01:00
parent 9e17c517fe
commit e182bc7518

View file

@ -6,8 +6,8 @@ variables:
# as well. Otherwise release builds can fail if Lemmy or dependencies rely on new Rust
# features. In particular the ARM builder image needs to be updated manually in the repo below:
# https://github.com/raskyld/lemmy-cross-toolchains
- &rust_image "rust:1.81"
- &rust_nightly_image "rustlang/rust:nightly"
- &rust_image "rust:1.81-slim"
- &rust_nightly_image "rustlang/rust:nightly-slim"
- &install_pnpm "corepack enable pnpm"
- &install_binstall "wget -O- https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xvz -C /usr/local/cargo/bin"
- install_diesel_cli: &install_diesel_cli