Parcourir la source

[Drone] Log level envvar name fixed

Slava Barinov il y a 2 ans
Parent
commit
54030ebf6c
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      .drone.yml
  2. 1 1
      Dockerfile

+ 1 - 0
.drone.yml

@@ -16,6 +16,7 @@ steps:
     repo: registry.dhaenuur.home.rayslava.com/receqif
     tags:
     - ${DRONE_COMMIT_SHA:8}
+    - latest
     cache_from: "registry.dhaenuur.home.rayslava.com/receqif:latest"
     registry: registry.dhaenuur.home.rayslava.com
     username:

+ 1 - 1
Dockerfile

@@ -19,6 +19,6 @@ USER 1000
 ARG TELEGRAM_TOKEN
 ENV TELOXIDE_TOKEN=$TELEGRAM_TOKEN
 ARG LOG_LEVEL
-ENV LOG_LEVEL=$LOG_LEVEL
+ENV RUST_LOG=$LOG_LEVEL
 VOLUME ["/etc/receqif"]
 ENTRYPOINT ["/bin/receqif", "--telegram"]