Skip to content

Commit 47f30d0

Browse files
authored
Update on-tag.yml (#33)
1 parent bc8cf0b commit 47f30d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/on-tag.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ jobs:
2121
service:
2222
- frontend
2323
- backend
24-
runs-on: [self-hosted, Linux, X64]
24+
# Add fail-fast configuration
25+
fail-fast: false
26+
runs-on: ${{ github.event.repository.has_issues && 'ubuntu-latest' || 'self-hosted' }}
2527
timeout-minutes: 120
2628
name: Build and push to DockerHub
29+
# Add concurrency group to prevent multiple runs
30+
concurrency:
31+
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.service }}
32+
cancel-in-progress: true
2733
steps:
2834
# Workaround based on JonasAlfredsson/[email protected]
2935
- name: Replace the current swap file

0 commit comments

Comments
 (0)