Update Docker image references from 'telemtPanel' to 'telemtpanel' across configuration files and documentation for consistency.
Build and Push Telemt Panel Docker Image / build-and-push (push) Successful in 3m34s
Build and Push Telemt Panel Docker Image / create-release (push) Skipped

This commit is contained in:
Denozordec
2026-08-04 18:36:44 +07:00
parent b5f31c1083
commit 9ac385d332
7 changed files with 24 additions and 14 deletions
+14 -4
View File
@@ -39,11 +39,20 @@ jobs:
echo "GIT_COMMIT_SHORT=$(echo ${{ gitea.sha }} | cut -c1-7)" >> ./version.txt echo "GIT_COMMIT_SHORT=$(echo ${{ gitea.sha }} | cut -c1-7)" >> ./version.txt
echo "BUILD_TIMESTAMP=$(date -u +%s)" >> ./version.txt echo "BUILD_TIMESTAMP=$(date -u +%s)" >> ./version.txt
# Docker registry names must be lowercase (Gitea repo is telemtPanel).
- name: Resolve image name
id: image
run: |
IMAGE_REPO="git.shts.su/$(echo '${{ gitea.repository }}' | tr '[:upper:]' '[:lower:]')"
echo "name=${IMAGE_REPO}" >> "$GITHUB_OUTPUT"
echo "name=${IMAGE_REPO}" >> "$GITEA_OUTPUT"
echo "Resolved image: ${IMAGE_REPO}"
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: git.shts.su/${{ gitea.repository }} images: ${{ steps.image.outputs.name }}
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ gitea.ref_name == 'main' }} type=raw,value=latest,enable=${{ gitea.ref_name == 'main' }}
@@ -59,8 +68,8 @@ jobs:
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: | build-args: |
NODE_VERSION=22.23.0-bookworm-slim NODE_VERSION=22.23.0-bookworm-slim
cache-from: type=registry,ref=git.shts.su/${{ gitea.repository }}:buildcache cache-from: type=registry,ref=${{ steps.image.outputs.name }}:buildcache
cache-to: type=registry,ref=git.shts.su/${{ gitea.repository }}:buildcache,mode=max cache-to: type=registry,ref=${{ steps.image.outputs.name }}:buildcache,mode=max
provenance: true provenance: true
create-release: create-release:
@@ -90,12 +99,13 @@ jobs:
- name: Create Release - name: Create Release
run: | run: |
VERSION="${{ gitea.ref_name }}" VERSION="${{ gitea.ref_name }}"
IMAGE_REPO="git.shts.su/$(echo '${{ gitea.repository }}' | tr '[:upper:]' '[:lower:]')"
RELEASE_DATA=$(cat <<EOF RELEASE_DATA=$(cat <<EOF
{ {
"tag_name": "${VERSION}", "tag_name": "${VERSION}",
"target_commitish": "${{ gitea.sha }}", "target_commitish": "${{ gitea.sha }}",
"name": "telemt-panel ${VERSION}", "name": "telemt-panel ${VERSION}",
"body": "## telemt-panel ${VERSION}\n\n### Docker\n\n\`\`\`bash\ndocker pull git.shts.su/${{ gitea.repository }}:${VERSION}\ndocker run -d --network host -e PANEL_MODE=standalone -e TELEMT_API_URL=http://127.0.0.1:9091 -e JWT_SECRET=change-me -e BOOTSTRAP_PASSWORD=change-me -v /var/lib/telemt-panel:/data --name telemt-panel git.shts.su/${{ gitea.repository }}:${VERSION}\n\`\`\`\n\nСм. docs/install.md\n\n### Changelog\n\n${{ steps.changelog.outputs.CHANGELOG }}", "body": "## telemt-panel ${VERSION}\n\n### Docker\n\n\`\`\`bash\ndocker pull ${IMAGE_REPO}:${VERSION}\ndocker run -d --network host -e PANEL_MODE=standalone -e TELEMT_API_URL=http://127.0.0.1:9091 -e JWT_SECRET=change-me -e BOOTSTRAP_PASSWORD=change-me -v /var/lib/telemt-panel:/data --name telemt-panel ${IMAGE_REPO}:${VERSION}\n\`\`\`\n\nСм. docs/install.md\n\n### Changelog\n\n${{ steps.changelog.outputs.CHANGELOG }}",
"draft": false, "draft": false,
"prerelease": false "prerelease": false
} }
+3 -3
View File
@@ -2,19 +2,19 @@
Control panel for Telemt MTProxy — **standalone** (direct `/v1`) or **fleet** (Go agents). Control panel for Telemt MTProxy — **standalone** (direct `/v1`) or **fleet** (Go agents).
Image: `git.shts.su/denozord/telemtPanel` Image: `git.shts.su/denozord/telemtpanel`
## Quick start (standalone) ## Quick start (standalone)
```bash ```bash
docker pull git.shts.su/denozord/telemtPanel:latest docker pull git.shts.su/denozord/telemtpanel:latest
docker run -d --name telemt-panel --network host \ docker run -d --name telemt-panel --network host \
-e PANEL_MODE=standalone \ -e PANEL_MODE=standalone \
-e TELEMT_API_URL=http://127.0.0.1:9091 \ -e TELEMT_API_URL=http://127.0.0.1:9091 \
-e JWT_SECRET=change-me-long \ -e JWT_SECRET=change-me-long \
-e BOOTSTRAP_PASSWORD=change-me \ -e BOOTSTRAP_PASSWORD=change-me \
-v /var/lib/telemt-panel:/data \ -v /var/lib/telemt-panel:/data \
git.shts.su/denozord/telemtPanel:latest git.shts.su/denozord/telemtpanel:latest
``` ```
Полная инструкция (RU): **[docs/install.md](docs/install.md)**. Полная инструкция (RU): **[docs/install.md](docs/install.md)**.
+1 -1
View File
@@ -47,7 +47,7 @@ services:
max-file: "3" max-file: "3"
app: app:
image: git.shts.su/denozord/telemtPanel:${PANEL_IMAGE_TAG:-latest} image: git.shts.su/denozord/telemtpanel:${PANEL_IMAGE_TAG:-latest}
pull_policy: always pull_policy: always
container_name: telemt-panel container_name: telemt-panel
restart: unless-stopped restart: unless-stopped
+1 -1
View File
@@ -7,7 +7,7 @@ set -euo pipefail
MODE="${PANEL_MODE:-standalone}" MODE="${PANEL_MODE:-standalone}"
NON_INTERACTIVE=0 NON_INTERACTIVE=0
DATA_DIR="${DATA_DIR:-/var/lib/telemt-panel}" DATA_DIR="${DATA_DIR:-/var/lib/telemt-panel}"
IMAGE="${PANEL_IMAGE:-git.shts.su/denozord/telemtPanel:latest}" IMAGE="${PANEL_IMAGE:-git.shts.su/denozord/telemtpanel:latest}"
while [[ $# -gt 0 ]]; do while [[ $# -gt 0 ]]; do
case "$1" in case "$1" in
+1 -1
View File
@@ -5,7 +5,7 @@
services: services:
panel: panel:
image: git.shts.su/denozord/telemtPanel:${PANEL_IMAGE_TAG:-latest} image: git.shts.su/denozord/telemtpanel:${PANEL_IMAGE_TAG:-latest}
container_name: telemt-panel container_name: telemt-panel
restart: unless-stopped restart: unless-stopped
ports: ports:
+1 -1
View File
@@ -6,7 +6,7 @@
services: services:
panel: panel:
image: git.shts.su/denozord/telemtPanel:${PANEL_IMAGE_TAG:-latest} image: git.shts.su/denozord/telemtpanel:${PANEL_IMAGE_TAG:-latest}
container_name: telemt-panel container_name: telemt-panel
restart: unless-stopped restart: unless-stopped
network_mode: host network_mode: host
+3 -3
View File
@@ -1,6 +1,6 @@
# Telemt Panel — установка (RU) # Telemt Panel — установка (RU)
Один Docker-образ: `git.shts.su/denozord/telemtPanel`. Режим задаётся `PANEL_MODE`. Один Docker-образ: `git.shts.su/denozord/telemtpanel`. Режим задаётся `PANEL_MODE`.
| Режим | Когда | Агент | | Режим | Когда | Агент |
|-------|--------|--------| |-------|--------|--------|
@@ -18,7 +18,7 @@ UI: ReUI PRO Frame. Previews: [app-shell-12](https://reui.io/preview/base/app-sh
## Быстрый старт: standalone (рекомендуется на Linux) ## Быстрый старт: standalone (рекомендуется на Linux)
```bash ```bash
docker pull git.shts.su/denozord/telemtPanel:latest docker pull git.shts.su/denozord/telemtpanel:latest
docker run -d --name telemt-panel --network host \ docker run -d --name telemt-panel --network host \
-e PANEL_MODE=standalone \ -e PANEL_MODE=standalone \
@@ -27,7 +27,7 @@ docker run -d --name telemt-panel --network host \
-e BOOTSTRAP_USERNAME=admin \ -e BOOTSTRAP_USERNAME=admin \
-e BOOTSTRAP_PASSWORD='change-me' \ -e BOOTSTRAP_PASSWORD='change-me' \
-v /var/lib/telemt-panel:/data \ -v /var/lib/telemt-panel:/data \
git.shts.su/denozord/telemtPanel:latest git.shts.su/denozord/telemtpanel:latest
``` ```
Откройте `http://127.0.0.1:8080`, войдите `admin` / пароль из `BOOTSTRAP_PASSWORD`. Откройте `http://127.0.0.1:8080`, войдите `admin` / пароль из `BOOTSTRAP_PASSWORD`.