fix: Use nightly so Github actions won't exit with 137

This commit is contained in:
Nikolai Rodionov 2023-03-24 15:56:44 +01:00 committed by Nikolai Rodionov
parent 534834680b
commit 04c79984c0

View File

@ -3,7 +3,8 @@ WORKDIR /src
RUN apt-get update &&\
apt-get install -y libssl-dev gcc musl pkg-config
COPY ./ .
RUN cargo build --release
RUN rustup default nightly && rustup update
RUN cargo build --release --jobs 2 -Z sparse-registry
FROM debian:stable