Skip to content

Commit 7fc9861

Browse files
committed
Add debugging steps to Claude workflow for environment verification and Docker testing
1 parent 866920c commit 7fc9861

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/claude.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,37 @@ jobs:
3030
with:
3131
fetch-depth: 1
3232

33+
- name: Debug Environment
34+
run: |
35+
echo "=== Environment Debug ==="
36+
echo "GITHUB_ACTOR: $GITHUB_ACTOR"
37+
echo "GITHUB_REPOSITORY: $GITHUB_REPOSITORY"
38+
echo "GITHUB_REPOSITORY_OWNER: $GITHUB_REPOSITORY_OWNER"
39+
echo "GITHUB_TOKEN exists: $([ -n "$GITHUB_TOKEN" ] && echo "yes" || echo "no")"
40+
echo "=== Docker Info ==="
41+
docker --version
42+
docker info
43+
3344
- name: Login to GitHub Container Registry
3445
uses: docker/login-action@v3
3546
with:
3647
registry: ghcr.io
3748
username: ${{ github.actor }}
3849
password: ${{ secrets.GITHUB_TOKEN }}
3950

51+
- name: Test Docker Pull
52+
run: |
53+
echo "=== Testing Docker Pull ==="
54+
echo "Attempting to pull image: ghcr.io/mervinpraison/praisonai-claudecode:latest"
55+
docker pull ghcr.io/mervinpraison/praisonai-claudecode:latest || echo "Pull failed with exit code: $?"
56+
echo "=== Checking Docker Images ==="
57+
docker images | grep praisonai-claudecode || echo "No images found"
58+
59+
- name: Test Manual Docker Run
60+
run: |
61+
echo "=== Testing Manual Docker Run ==="
62+
docker run --rm ghcr.io/mervinpraison/praisonai-claudecode:latest echo "Container started successfully" || echo "Manual run failed with exit code: $?"
63+
4064
- name: Run Claude Code
4165
id: claude
4266
uses: ./.github/actions/claude-code-action

0 commit comments

Comments
 (0)