Skip to content

Commit aaebe9e

Browse files
committed
just cancel previous run.
1 parent ee32491 commit aaebe9e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ env:
1313
# github.repository as <account>/<repo>
1414
IMAGE_NAME: ${{ github.repository }}
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1620
jobs:
1721
build:
1822

@@ -24,8 +28,7 @@ jobs:
2428

2529
steps:
2630
- name: Checkout repository
27-
uses: actions/checkout@v4
28-
31+
uses: actions/checkout@v5
2932
- name: Set up Docker Buildx
3033
uses: docker/setup-buildx-action@v3
3134
- name: Log into registry ${{ env.REGISTRY }}

0 commit comments

Comments
 (0)