fix: Chef cook uses wrong toolchain
Some checks failed
Build and deploy / build (push) Failing after 1m2s
Build and deploy / Deploy container (push) Has been skipped

This adds a toolchain setup step to the base image so we do not have to
do it multiple times
This commit is contained in:
2025-11-17 00:51:44 +01:00
parent b87f27f149
commit 3f59f10cd1

View File

@@ -3,6 +3,8 @@ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
RUN cargo install cargo-chef --locked --version 0.1.71 && \
cargo install cargo-auditable --locked --version 0.6.6
WORKDIR /app
COPY ./rust-toolchain.toml .
RUN rustup toolchain install
FROM base AS planner
COPY . .