From f8e8440388b53c18af0d0fddc8566e27ada96fd2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 15 Mar 2026 11:15:56 +0000 Subject: [PATCH] fix: correct GeoIP CI detection to require truthy value --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b2f7d90b..e0e9715e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -433,7 +433,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"] ARG CI ARG GEOLITE2_COUNTRY_SHA256=b79afc28a0a52f89c15e8d92b05c173f314dd4f687719f96cf921012d900fcce RUN mkdir -p /app/data/geoip && \ - if [ -n "$CI" ]; then \ + if [ "$CI" = "true" ] || [ "$CI" = "1" ]; then \ echo "⏱️ CI detected - quick download (10s timeout, no retries)"; \ if wget -qO /app/data/geoip/GeoLite2-Country.mmdb \ -T 10 "https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-Country.mmdb" 2>/dev/null \