From fd0eca0c1492c1aea63099c82b6b0a2b3d225dec Mon Sep 17 00:00:00 2001 From: Frank John Begornia Date: Tue, 13 Jan 2026 00:46:57 +0800 Subject: [PATCH] fix: add directory listing and Dockerfile check before building image --- .gitea/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 41158a4..f97f64d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -27,6 +27,13 @@ jobs: shell: sh run: | cd /workspace/repo + echo "Current directory: $(pwd)" + echo "Files in directory:" + ls -la + if [ ! -f Dockerfile ]; then + echo "ERROR: Dockerfile not found!" + exit 1 + fi docker build -t tablejerseys-web:latest . docker save tablejerseys-web:latest | gzip > tablejerseys-web.tar.gz