Skip to content

Commit e95701f

Browse files
0x46616c6bOpenCode
andauthored
👷 Add concurrency group to Docker build job to avoid redundant parallel builds (#1111)
Only the latest tag is pushed on main, so parallel runs waste resources. Cancel in-progress builds when a newer push arrives. Co-authored-by: OpenCode <noreply@opencode.ai>
1 parent e9e68fa commit e95701f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎.github/workflows/integration.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
name: Build & Push Docker Image
7676
if: github.actor != 'dependabot[bot]'
7777
needs: test
78+
concurrency:
79+
group: docker-build-push
80+
cancel-in-progress: true
7881
steps:
7982
- name: Checkout
8083
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

0 commit comments

Comments
 (0)