更新 .gitea/workflows/test.yaml
Some checks failed
Test Runner / test-check (push) Failing after 46s

This commit is contained in:
2026-01-03 15:48:12 +00:00
parent 2960469e4a
commit 5ce015bb74

View File

@@ -20,15 +20,15 @@ jobs:
# 安裝 ping 工具來測試 # 安裝 ping 工具來測試
apt-get install -y iputils-ping apt-get install -y iputils-ping
- name: Install Docker CLI (因為 ubuntu 映像檔預設沒有 docker)
run: |
apt-get update && apt-get install -y docker.io
- name: Debug Network (Ping Test) - name: Debug Network (Ping Test)
run: | run: |
echo "正在嘗試 Ping gitea_dind..." echo "正在嘗試 Ping gitea_dind..."
# 2. 測試是否能解析到 DinD 容器的 IP # 2. 測試是否能解析到 DinD 容器的 IP
ping -c 3 gitea_dind ping -c 3 gitea_dind
- name: Install Docker CLI (因為 ubuntu 映像檔預設沒有 docker)
run: |
apt-get update && apt-get install -y docker.io
- name: Test Docker Connection - name: Test Docker Connection
env: env: