1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-08-16 02:10:29 +03:00

feat(docker): enable github feature for the docker image

This commit is contained in:
Orhun Parmaksız 2024-02-21 14:25:32 +03:00
parent f255ad38b2
commit bc882e3884
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90

View File

@ -11,7 +11,7 @@ COPY --from=planner /app/recipe.json recipe.json
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
RUN cargo build --release --locked --no-default-features
RUN cargo build --release --locked --no-default-features --features github
RUN rm -f target/release/deps/git_cliff*
FROM debian:buster-slim as runner