Skip to content

Commit dbb7a8f

Browse files
ggilestroclaude
andcommitted
fix(ci): Serialize Docker builds to avoid runner saturation
Run git-server build after node build completes, and add concurrency group to cancel duplicate builds on the same ref. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e87518a commit dbb7a8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
env:
1010
REGISTRY: ghcr.io
1111

12+
concurrency:
13+
group: docker-${{ github.ref }}
14+
cancel-in-progress: true
15+
1216
permissions:
1317
contents: read
1418
packages: write
@@ -50,6 +54,7 @@ jobs:
5054
cache-to: type=gha,mode=max
5155

5256
build-git-server:
57+
needs: build-node
5358
runs-on: ubuntu-latest
5459
steps:
5560
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)