projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825250e
)
CI: push-containers: limit to one concurrent run
author
Christian Marangi
<
[email protected]
>
Tue, 24 Jan 2023 22:23:56 +0000
(23:23 +0100)
committer
Christian Marangi
<
[email protected]
>
Tue, 24 Jan 2023 22:23:56 +0000
(23:23 +0100)
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 <
[email protected]
>
.github/workflows/push-containers.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/push-containers.yml
b/.github/workflows/push-containers.yml
index 4045dfaa294241300bc09507d2707782e1b8dc1b..cc13cda5725e9be7ed424580a33a005fb7513486 100644
(file)
--- 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