diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf97c54..11243dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ cargo-build: - .cargo/registry/cache/ artifacts: paths: - - target/release/bin + - target/release/stromsensor_mailer docker: stage: pack diff --git a/Dockerfile b/Dockerfile index 465aaa5..6b17eaf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM debian:stable-slim as final WORKDIR /app -COPY ./target/release/bin ./bin -CMD ["/app/bin"] +COPY ./target/release/stromsensor_mailer ./stromsensor_mailer +CMD ["/app/stromsensor_mailer"]