diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-24 23:23:56 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-24 23:23:56 +0100 |
commit | d5943ffed8e18e94ff71f0f1842b5137b5b795ed (patch) | |
tree | 11ca3ebea30484541b0de6d76c000fae5c1c235c | |
parent | 825250ec4b26da784de9662e1ca54897927afc67 (diff) | |
download | upstream-d5943ffed8e18e94ff71f0f1842b5137b5b795ed.tar.gz upstream-d5943ffed8e18e94ff71f0f1842b5137b5b795ed.tar.bz2 upstream-d5943ffed8e18e94ff71f0f1842b5137b5b795ed.zip |
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>
-rw-r--r-- | .github/workflows/push-containers.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/push-containers.yml b/.github/workflows/push-containers.yml index 4045dfaa29..cc13cda572 100644 --- a/.github/workflows/push-containers.yml +++ b/.github/workflows/push-containers.yml @@ -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 |