From d2387e59879c5f763fcb99e689e8ee683ca93891 Mon Sep 17 00:00:00 2001 From: ll7 <32880741+ll7@users.noreply.github.com> Date: Thu, 7 Mar 2024 09:36:40 +0100 Subject: [PATCH] prune images from self-hosted runner --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 093aefb9..ebcc4022 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -126,3 +126,5 @@ jobs: repo: context.repo.repo, body: "## Simulation results\n" + resultsTable }); + - name: Prune all images older than 30 days from self-hosted runner + run: docker image prune -a --force --filter "until=720h"