Skip to content

Commit 3af7fd8

Browse files
authored
fix(ci): add timeouts to build job (#217)
Signed-off-by: Dan Barr <[email protected]>
1 parent c6336a5 commit 3af7fd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-containers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ jobs:
261261
build-containers:
262262
needs: [discover-configs, verify-provenance, mcp-security-scan]
263263
runs-on: ubuntu-latest
264+
timeout-minutes: 60
264265
# Only proceed if security scans passed (provenance check is informational only)
265266
if: ${{ needs.discover-configs.outputs.changed-configs != '[]' && needs.mcp-security-scan.result == 'success' }}
266267
strategy:
@@ -356,6 +357,7 @@ jobs:
356357
357358
- name: Build and push Docker image
358359
id: build
360+
timeout-minutes: 30
359361
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
360362
with:
361363
context: ${{ steps.dockerfile.outputs.dockerfile_dir }}

0 commit comments

Comments
 (0)