Skip to content

Commit f571f05

Browse files
committed
Upgrade telemt engine to v3.0.3 (cf71703)
1 parent 1ecfb9f commit f571f05

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build-engine.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
66
telemt_commit:
77
description: 'Telemt commit hash to build from'
88
required: true
9-
default: '43990c9'
9+
default: 'cf71703'
1010
version_tag:
11-
description: 'Version tag (e.g. 3.0.0-43990c9)'
11+
description: 'Version tag (e.g. 3.0.3-cf71703)'
1212
required: true
13-
default: '3.0.0-43990c9'
13+
default: '3.0.3-cf71703'
1414

1515
env:
1616
REGISTRY: ghcr.io

mtproxymax.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ BACKUP_DIR="${INSTALL_DIR}/backups"
2323
CONTAINER_NAME="mtproxymax"
2424
DOCKER_IMAGE_BASE="mtproxymax-telemt"
2525
TELEMT_REPO="telemt/telemt"
26-
TELEMT_MIN_VERSION="3.0.0"
27-
TELEMT_COMMIT="43990c9" # Pinned: ME fixes + Prometheus metrics (post-v3.0.0)
26+
TELEMT_MIN_VERSION="3.0.3"
27+
TELEMT_COMMIT="cf71703" # Pinned: v3.0.3 — ME autofallback, flush optimization, IPv6 parser
2828
GITHUB_REPO="SamNet-dev/MTProxyMax"
2929
REGISTRY_IMAGE="ghcr.io/samnet-dev/mtproxymax-telemt"
3030

@@ -868,7 +868,7 @@ build_telemt_image() {
868868
local force="${1:-false}"
869869

870870
local commit="${TELEMT_COMMIT}"
871-
local version="3.0.0-${commit}"
871+
local version="3.0.3-${commit}"
872872

873873
# Skip if image already exists (unless forced)
874874
if [ "$force" != "true" ] && docker image inspect "${DOCKER_IMAGE_BASE}:${version}" &>/dev/null; then
@@ -975,7 +975,7 @@ get_docker_image() {
975975
check_telemt_update() {
976976
local current
977977
current=$(get_telemt_version)
978-
# Strip commit suffix for comparison (3.0.0-43990c9 → 3.0.0)
978+
# Strip commit suffix for comparison (3.0.3-cf71703 → 3.0.3)
979979
local current_base="${current%%-*}"
980980
local latest
981981
latest=$(curl -sL --max-time 10 \
@@ -4434,7 +4434,7 @@ cli_main() {
44344434
# Remove old image so build_telemt_image creates a new one
44354435
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
44364436
mkdir -p "$INSTALL_DIR"
4437-
echo "3.0.0-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
4437+
echo "3.0.3-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
44384438
build_telemt_image true
44394439
if is_proxy_running; then
44404440
load_secrets
@@ -4463,7 +4463,7 @@ cli_main() {
44634463
TELEMT_COMMIT="${latest_short}"
44644464
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
44654465
mkdir -p "$INSTALL_DIR"
4466-
echo "3.0.0-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
4466+
echo "3.0.3-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
44674467
build_telemt_image true
44684468
if is_proxy_running; then
44694469
load_secrets
@@ -5133,7 +5133,7 @@ show_engine_menu() {
51335133
TELEMT_COMMIT="${latest_short}"
51345134
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
51355135
mkdir -p "$INSTALL_DIR"
5136-
echo "3.0.0-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
5136+
echo "3.0.3-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
51375137
build_telemt_image true
51385138
if is_proxy_running; then
51395139
load_secrets
@@ -5167,7 +5167,7 @@ show_engine_menu() {
51675167
TELEMT_COMMIT="${verify_short}"
51685168
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
51695169
mkdir -p "$INSTALL_DIR"
5170-
echo "3.0.0-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
5170+
echo "3.0.3-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
51715171
build_telemt_image true
51725172
if is_proxy_running; then
51735173
load_secrets

0 commit comments

Comments
 (0)