Skip to content

Commit 0fdd756

Browse files
authored
Move concurrency to job in build-push-docker.yml
1 parent 3607cf3 commit 0fdd756

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build-push-docker.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,14 @@ permissions:
3333
id-token: write
3434
contents: read
3535

36-
concurrency:
37-
group: '${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ github.event.inputs.image_tag }}'
38-
cancel-in-progress: true
39-
4036
env:
4137
WORKFLOW_BRANCH: "new_deployment"
4238

4339
jobs:
4440
build:
41+
concurrency:
42+
group: '${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.image_tag }}'
43+
cancel-in-progress: true
4544
runs-on: ubuntu-20.04
4645
steps:
4746
# checkout specific source repository

0 commit comments

Comments
 (0)