fix workflow

This commit is contained in:
OlivierDehaene 2023-05-15 17:40:37 +02:00
parent d325cf9ceb
commit 6e17994fef

View File

@ -20,8 +20,6 @@ on:
branches:
- 'main'
jobs:
start-runner:
name: Start self-hosted EC2 runner
@ -60,7 +58,7 @@ jobs:
build-and-push-image:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
needs: start-runner # required to start the main job when the runner is ready
runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner
@ -187,7 +185,7 @@ jobs:
integration-tests:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
needs:
- start-runner