Skip to content

Commit f64fa40

Browse files
pRizzclaude
andcommitted
ci: add timeout and verbose logging to Docker publish workflow
Prevents zombie Docker builds from running indefinitely (was 9+ hours) by adding a 45-minute timeout. Adds BUILDKIT_PROGRESS=plain for diagnostic visibility into which Dockerfile stage hangs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0683357 commit f64fa40

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
build-and-push:
3737
name: Build and Push Sandbox Docker Image
3838
runs-on: ubuntu-latest
39+
timeout-minutes: 45
3940
outputs:
4041
scout_policy_status: ${{ steps.scout-policy.outputs.status }}
4142
scout_policy_exit_code: ${{ steps.scout-policy.outputs.exit_code }}
@@ -121,6 +122,8 @@ jobs:
121122

122123
- name: Build test image (amd64 only)
123124
uses: docker/build-push-action@v6
125+
env:
126+
BUILDKIT_PROGRESS: plain
124127
with:
125128
context: .
126129
push: false
@@ -212,6 +215,8 @@ jobs:
212215

213216
- name: Build and push
214217
uses: docker/build-push-action@v6
218+
env:
219+
BUILDKIT_PROGRESS: plain
215220
with:
216221
context: .
217222
push: true

0 commit comments

Comments
 (0)