feat: 使用 Docker 运行 wget 检查服务状态
Deploy backend / deploy (push) Successful in 16s

This commit is contained in:
yuxuanhui
2026-09-30 09:12:32 +08:00
parent 3a8b608449
commit 90a4c0a155
+2 -1
View File
@@ -42,7 +42,8 @@ jobs:
"${compose[@]}" config --quiet
"${compose[@]}" build api
"${compose[@]}" up -d --wait --wait-timeout 180
curl --fail --silent --show-error http://127.0.0.1:8080/readyz
docker run --rm --network host --entrypoint wget "ballet-island-api:${IMAGE_TAG}" \
-q -T 3 -O /dev/null http://127.0.0.1:8080/readyz
- name: Show container status
if: always()