mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-25 06:20:42 +01:00
ci: serialize foundationdb_version dispatch runs by destination tag
Two manual runs resolving to the same docker tag now share a concurrency group (explicit image_tag, else the computed foundationdb_<fdb>_seaweedfs_<ref> default), so they queue instead of racing pushes to the same tag. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
4d5ce61a04
commit
215694218c
1 file changed
+1
-1
@@ -25,7 +25,7 @@ on:
|
||||
default: ''
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || (github.event_name == 'workflow_dispatch' && (github.event.inputs.image_tag || format('{0}-{1}', github.event.inputs.fdb_version, github.event.inputs.seaweedfs_ref))) || github.run_id }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || toLower(github.event.inputs.image_tag || format('foundationdb_{0}_seaweedfs_{1}', github.event.inputs.fdb_version || '7.4.5', github.event.inputs.seaweedfs_ref || github.ref_name)) }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}
|
||||
|
||||
permissions:
|
||||
|
||||
Reference in new issue
Block a user