separate build from strip (debugging)
This commit is contained in:
parent
7bbc1bbc19
commit
4a1bb89426
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user