debug CI: show Dockerfile + docker version on build failure
Deploy t-youtube / Build & Deploy (push) Failing after 27s
Deploy t-youtube / Build & Deploy (push) Failing after 27s
This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user