From eea9fd56b0a5282872749728d7024bc871179760 Mon Sep 17 00:00:00 2001 From: Marie Date: Tue, 26 Sep 2023 03:17:28 +0200 Subject: [PATCH] add(ci): clear-packages.yml --- .github/workflows/clear-untagged-packages.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/clear-untagged-packages.yml diff --git a/.github/workflows/clear-untagged-packages.yml b/.github/workflows/clear-untagged-packages.yml new file mode 100644 index 000000000..1dfbaff09 --- /dev/null +++ b/.github/workflows/clear-untagged-packages.yml @@ -0,0 +1,15 @@ +name: Remove old package versions + +on: + workflow_dispatch: + +jobs: + remove-package-versions: + runs-on: ubuntu-latest + steps: + - uses: actions/delete-package-versions@v4 + with: + package-name: sharkey + package-type: container + min-versions-to-keep: 10 + delete-only-untagged-versions: 'true'