Skip to content

Commit 3365560

Browse files
authored
chore: disable concurrency build (#77)
1 parent ac7ef05 commit 3365560

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ on:
1515
- '.github/workflows/CI.yml'
1616
workflow_dispatch:
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
1823
jobs:
1924
build:
2025
strategy:
@@ -40,11 +45,11 @@ jobs:
4045
- name: Check buildx bake
4146
run: docker buildx bake --file docker-bake.hcl --print
4247

43-
- name: Publish an image for tag ${{ matrix.target }}
48+
- name: Build image for tag ${{ matrix.target }}
4449
if: github.ref == 'refs/heads/master'
4550
run: docker buildx bake --file docker-bake.hcl ${{ matrix.target }} --load
4651

47-
- name: Publish an image for tag ${{ matrix.target }}
52+
- name: Publish image for tag ${{ matrix.target }}
4853
if: github.ref == 'refs/heads/master' && github.event_name == 'workflow_dispatch'
4954
run: docker buildx bake --file docker-bake.hcl ${{ matrix.target }} --push
5055

0 commit comments

Comments
 (0)