mirror of
https://github.com/orhun/git-cliff.git
synced 2024-10-26 07:49:41 +03:00
chore(build): enable strip option for release profile
This commit is contained in:
parent
6bb4f5b43e
commit
f70fefd88a
@ -19,6 +19,7 @@ debug = false
|
||||
panic = "unwind"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
|
||||
[profile.bench]
|
||||
opt-level = 3
|
||||
|
@ -23,7 +23,6 @@ COPY --from=cacher /app/target target
|
||||
COPY --from=cacher $CARGO_HOME $CARGO_HOME
|
||||
RUN cargo build --release --locked --no-default-features
|
||||
RUN rm -f target/release/deps/git_cliff*
|
||||
RUN strip target/release/git-cliff
|
||||
|
||||
FROM debian:buster-slim as runner
|
||||
WORKDIR app
|
||||
|
Loading…
Reference in New Issue
Block a user