Read DOCKER_VERSION from version file instead of env variable

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2022-09-16 15:24:22 +02:00
parent 5cf3c49587
commit 148aae4735

View File

@@ -59,7 +59,7 @@ if (!is_readable($versionsfile)) {
}
// Get Pi-hole Docker Tag, if available
$docker_current = htmlspecialchars(getenv('PIHOLE_DOCKER_TAG'));
$docker_current = $versions['DOCKER_VERSION'];
// Get data from GitHub
$core_latest = $versions['GITHUB_CORE_VERSION'];