separate build from strip (debugging)

This commit is contained in:
softprops 2019-08-25 18:46:21 -04:00
parent 7bbc1bbc19
commit 4a1bb89426

View File

@ -18,8 +18,8 @@ RUN rustup target add x86_64-unknown-linux-musl
# RUN cargo build --target x86_64-unknown-linux-musl --release # RUN cargo build --target x86_64-unknown-linux-musl --release
# COPY src src # COPY src src
COPY . . COPY . .
RUN cargo build --target x86_64-unknown-linux-musl --release \ RUN cargo build --target x86_64-unknown-linux-musl --release
&& strip /app/target/x86_64-unknown-linux-musl/release/action-gh-release RUN strip /app/target/x86_64-unknown-linux-musl/release/action-gh-release
FROM scratch FROM scratch