This commit is contained in:
parent
9c0bd589f8
commit
48339cb574
@ -48,7 +48,7 @@ jobs:
|
|||||||
uses: https://github.com/actions-rs/cargo@v1
|
uses: https://github.com/actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
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
|
- name: Log in to the Container registry
|
||||||
uses: https://github.com/docker/login-action@v2
|
uses: https://github.com/docker/login-action@v2
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM rust:1-slim-buster
|
FROM rust:1-slim-buster
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY /workspace/display-ambient-light/network-monitor .
|
COPY ./target/release/network-monitor .
|
||||||
|
|
||||||
CMD ["/app/network-monitor"]
|
CMD ["/app/network-monitor"]
|
||||||
|
Loading…
Reference in New Issue
Block a user