From 3403db757f0760cf4c5df32e7f2eebcd8cbb7db1 Mon Sep 17 00:00:00 2001 From: Ryan Boehning <1250684+ryboe@users.noreply.github.com> Date: Sun, 22 Feb 2026 17:13:41 -0800 Subject: [PATCH] fix: keep 10 most recently pushed images The workflow that cleans up untagged images was failing with an error. It was mistakenly trying to delete provenance/SBOM information associated with the latest image. Keeping the 10 most recently pushed images will prevent this. --- .github/workflows/cleanup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 4f456a5..fb8e733 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -17,4 +17,4 @@ jobs: package-name: alpinecodespace package-type: container delete-only-untagged-versions: "true" - min-versions-to-keep: 0 + min-versions-to-keep: 10