From fd6515576517a1bdb43f935411a84e4c40bb9293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serta=C3=A7=20=C3=96zercan?= <852750+sozercan@users.noreply.github.com> Date: Mon, 9 Oct 2023 14:28:40 -0700 Subject: [PATCH] ci: cherry pick #3053 (#3054) Signed-off-by: Sertac Ozercan --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 680b6bfafc1..8c4b63ab0ca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,8 @@ jobs: steps: - name: Cleanup disk run: | - docker system prune -a -f + # Filter out local helm-gh-pages image so we don't delete it + docker system prune -a -f --filter "label!=org.opencontainers.image.source=https://github.com/stefanprodan/alpine-base" - name: Harden Runner uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0