From 2956aaf85a7ac3bb2742b14d9c03bfbbdbfb9954 Mon Sep 17 00:00:00 2001 From: Yorick Date: Tue, 11 Jun 2024 10:01:49 +0000 Subject: [PATCH] LH latest --- default.env | 5 ++--- ethd | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/default.env b/default.env index 9bef0a51..89b2ae0e 100644 --- a/default.env +++ b/default.env @@ -202,8 +202,7 @@ TEKU_DOCKERFILE=Dockerfile.binary # SRC build target can be a tag, a branch, or a pr as "pr-ID" LH_SRC_BUILD_TARGET=stable LH_SRC_REPO=https://github.com/sigp/lighthouse -# If Lighthouse terminates with a SIGILL, make this "latest" -LH_DOCKER_TAG=latest-modern +LH_DOCKER_TAG=latest LH_DOCKER_REPO=sigp/lighthouse LH_DOCKERFILE=Dockerfile.binary @@ -308,4 +307,4 @@ DDNS_TAG=v2 NODE_EXPORTER_IGNORE_MOUNT_REGEX='^/(dev|proc|sys|run|var/lib/docker/.+)($|/)' # Used by ethd update - please do not adjust -ENV_VERSION=11 +ENV_VERSION=12 diff --git a/ethd b/ethd index bd9cc22d..c21b93e4 100755 --- a/ethd +++ b/ethd @@ -1060,6 +1060,9 @@ envmigrate() { if [[ "${var}" = "DDNS_TAG" && "${__source_ver}" -lt "8" ]]; then # Switch to ddns-updater value="v2" fi + if [[ "${var}" = "LH_DOCKER_TAG" && "${value}" = "latest-modern" ]]; then # LH 5.2 ditched latest-modern + value="latest" + fi sed -i'.original' -e "s~^\(${var}\s*=\s*\).*$~\1${value}~" "${ENV_FILE}" fi done