fix: Docker CI test configuration

- Add load: true to Docker build steps to make images available locally
- Fix port mapping from 3003:3003 to 3003:3002 to match container EXPOSE
- Ensures Docker images are properly loaded for testing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jonathan Flatt
2025-05-21 05:05:58 +00:00
parent e93c7203d5
commit fea3b04012

View File

@@ -118,6 +118,7 @@ jobs:
context: .
file: ./Dockerfile
push: false
load: true
tags: claude-github-webhook:test
cache-from: type=gha
cache-to: type=gha,mode=max
@@ -128,6 +129,7 @@ jobs:
context: .
file: ./Dockerfile.claudecode
push: false
load: true
tags: claude-code-runner:test
cache-from: type=gha
cache-to: type=gha,mode=max
@@ -135,7 +137,7 @@ jobs:
- name: Test Docker containers
run: |
# Test main container starts correctly
docker run --name test-webhook -d -p 3003:3003 \
docker run --name test-webhook -d -p 3003:3002 \
-e NODE_ENV=test \
-e BOT_USERNAME=@TestBot \
-e GITHUB_WEBHOOK_SECRET=test-secret \