Skip to content

Commit 9c8c795

Browse files
committed
workflows: only run single instance of docker prune at a time
This resolves a workflow failure when two jobs are queued while the runnner is offline and start concurrently when it goes online again. Signed-off-by: Peter Colberg <[email protected]>
1 parent 71d527e commit 9c8c795

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/container-prune.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# https://docs.docker.com/config/pruning/
77
name: prune container images on self-hosted runners
88

9+
# docker permits only a single prune operation at a time
10+
concurrency: container-prune
11+
912
on:
1013
push:
1114
branches:

0 commit comments

Comments
 (0)