CI: push-containers: limit to one concurrent run

We may find in a situation where due the queue an old run finish after
the last run, resulting in the containers getting overwritten with an
old version.

Limit the push-containers workflow to one concurrent run and cancel any
run in progress.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi 2023-01-24 23:23:56 +01:00
parent 825250ec4b
commit d5943ffed8
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build-linux-buildbot:
name: Build tools with buildbot container