ci: musl target.
Some checks failed
Gitea Actions Demo / build (push) Failing after 1m44s

This commit is contained in:
Ivan Li 2023-06-18 19:52:42 +08:00
parent 9c0bd589f8
commit 48339cb574
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ jobs:
uses: https://github.com/actions-rs/cargo@v1
with:
command: build
args: --target x86_64-unknown-linux-musl --release
args: --target x86_64-unknown-linux-musl --release --bin network-monitor --target-dir ./build
- name: Log in to the Container registry
uses: https://github.com/docker/login-action@v2

View File

@ -1,5 +1,5 @@
FROM rust:1-slim-buster
WORKDIR /app
COPY /workspace/display-ambient-light/network-monitor .
COPY ./target/release/network-monitor .
CMD ["/app/network-monitor"]