From db0fb5d7a19b2d205cf1e8e6cbc74a967487a4e1 Mon Sep 17 00:00:00 2001 From: Karol Szwaj Date: Tue, 19 May 2026 16:14:12 +0200 Subject: [PATCH 1/2] Fix packages retention in gh action image Signed-off-by: Karol Szwaj --- .github/workflows/image.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 146c45c87..094b027aa 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -83,7 +83,14 @@ jobs: - uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0 with: - package-name: '${{ github.event.repository.name }}' + package-name: 'konnector' + package-type: 'container' + min-versions-to-keep: 10 + delete-only-pre-release-versions: "true" + + - uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0 + with: + package-name: 'backend' package-type: 'container' min-versions-to-keep: 10 delete-only-pre-release-versions: "true" From 5c8f25a17fe95e7cdc88316abf04409e99158d1f Mon Sep 17 00:00:00 2001 From: Karol Szwaj Date: Tue, 19 May 2026 16:24:38 +0200 Subject: [PATCH 2/2] add helm package as well Signed-off-by: Karol Szwaj --- .github/workflows/image.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 094b027aa..ac1f1ea7d 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -94,3 +94,10 @@ jobs: package-type: 'container' min-versions-to-keep: 10 delete-only-pre-release-versions: "true" + + - uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0 + with: + package-name: 'charts/backend' + package-type: 'container' + min-versions-to-keep: 10 + delete-only-pre-release-versions: "true"