separate build from strip (debugging)
This commit is contained in:
parent
7bbc1bbc19
commit
4a1bb89426
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ RUN rustup target add x86_64-unknown-linux-musl
|
|||
# RUN cargo build --target x86_64-unknown-linux-musl --release
|
||||
# COPY src src
|
||||
COPY . .
|
||||
RUN cargo build --target x86_64-unknown-linux-musl --release \
|
||||
&& strip /app/target/x86_64-unknown-linux-musl/release/action-gh-release
|
||||
RUN cargo build --target x86_64-unknown-linux-musl --release
|
||||
RUN strip /app/target/x86_64-unknown-linux-musl/release/action-gh-release
|
||||
|
||||
FROM scratch
|
||||
|
||||
|
|
Loading…
Reference in a new issue