debug CI: show Dockerfile + docker version on build failure
Deploy t-youtube / Build & Deploy (push) Failing after 27s

This commit is contained in:
Gan, Jimmy
2026-07-09 23:41:21 +08:00
parent ca2dc468ca
commit bc77de05b5
+8 -1
View File
@@ -20,7 +20,14 @@ jobs:
- name: Build Docker image - name: Build Docker image
run: | run: |
docker build -t t-youtube:latest /volume1/docker/t-youtube-build 2>&1 ls -la /volume1/docker/t-youtube-build/Dockerfile 2>&1
head -3 /volume1/docker/t-youtube-build/Dockerfile 2>&1
docker build -t t-youtube:latest /volume1/docker/t-youtube-build 2>&1 || {
echo "=== Build failed. Trying debug ==="
docker version 2>&1
docker info 2>&1 | head -10
exit 1
}
- name: Deploy to NAS - name: Deploy to NAS
run: | run: |