From 9cb6d7007596cc255caedc76871e929ba109798f Mon Sep 17 00:00:00 2001 From: sidey79 <7968127+sidey79@users.noreply.github.com> Date: Mon, 11 Nov 2024 23:34:30 +0100 Subject: [PATCH] feat[cleanup]: enable cleanup --- .github/workflows/registryCleanup.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/registryCleanup.yml b/.github/workflows/registryCleanup.yml index 78b80d66..6b5a147a 100644 --- a/.github/workflows/registryCleanup.yml +++ b/.github/workflows/registryCleanup.yml @@ -9,7 +9,7 @@ on: jobs: delete-package-versions: - name: Delete package versions older than 4 weeks, but keep the latest 5 in case of rollbacks + name: Delete package versions older than 6 weeks, but keep 10 versioned in case of rollbacks runs-on: ubuntu-latest steps: - uses: snok/container-retention-policy@v3.0.0 @@ -20,5 +20,5 @@ jobs: image-tags: "dev !latest pr*" # any image tag tag-selection: both # select both tagged and untagged package versions cut-off: 6w # package versions should be older than 4 weeks - # keep-n-most-recent: 5 # keep up to `n` tagged package versions for each of the packages - dry-run: true \ No newline at end of file + keep-n-most-recent: 10 # keep up to `n` tagged package versions for each of the packages + \ No newline at end of file