Skip to content

Commit

Permalink
LH latest
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Jun 11, 2024
1 parent 15cf13f commit 2956aaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
3 changes: 3 additions & 0 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2956aaf

Please sign in to comment.