Combine CI and publish workflows
ci / lint (push) Successful in 14s
ci / validate (push) Successful in 10s
ci / publish (push) Failing after 2s

This commit is contained in:
2026-06-27 23:06:45 +02:00
parent ec4805f027
commit 715cb448b7
6 changed files with 337 additions and 135 deletions
+10 -4
View File
@@ -5,13 +5,19 @@ services:
dockerfile: Dockerfile
container_name: telegram-scraper
image: gcr.forust.xyz/forust/telegram-scraper:latest
user: 1000:1000
restart: unless-stopped
tty: true
user: '1000:1000'
restart: unless-stopped
ports:
- "7887:8080"
- 7887:8080
healthcheck:
test: ["CMD", "python", "-c", "import http.client,json;c=http.client.HTTPConnection('localhost',8080);c.request('GET','/health');r=c.getresponse();exit(0)if json.loads(r.read()).get('ok')else exit(1)"]
test:
[
CMD,
python,
-c,
"import http.client, json; c=http.client.HTTPConnection('localhost', 8080); c.request('GET', '/health'); r=c.getresponse(); exit(0) if json.loads(r.read()).get('ok') else exit(1)",
]
interval: 30s
timeout: 10s
retries: 3