fix: add directory listing and Dockerfile check before building image
Some checks failed
Deploy Production / deploy (push) Failing after 30s

This commit is contained in:
Frank John Begornia
2026-01-13 00:46:57 +08:00
parent c939cf4b2b
commit fd0eca0c14

View File

@@ -27,6 +27,13 @@ jobs:
shell: sh shell: sh
run: | run: |
cd /workspace/repo 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 build -t tablejerseys-web:latest .
docker save tablejerseys-web:latest | gzip > tablejerseys-web.tar.gz docker save tablejerseys-web:latest | gzip > tablejerseys-web.tar.gz