From: Christian Marangi Date: Tue, 24 Jan 2023 22:23:56 +0000 (+0100) Subject: CI: push-containers: limit to one concurrent run X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fdedeckeh.git;a=commitdiff_plain;h=d5943ffed8e18e94ff71f0f1842b5137b5b795ed 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 --- 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