Skip to content

Commit

Permalink
Avoid multiple usages of docker build WF to cancel each other
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobEdding committed Feb 5, 2025
1 parent f2ec49e commit 80f0678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ on:
required: true

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-docker-${{ inputs.image-name }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-docker-${{ inputs.image-name }}-${{ inputs.image-tag-flavor }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}

jobs:
Expand Down

0 comments on commit 80f0678

Please sign in to comment.