From 9597424175c0973969fe43cd0383b7f64117d468 Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Wed, 18 Sep 2024 12:23:00 +0700 Subject: [PATCH] Test cleanup packages --- .github/workflows/cleanup-packages.yml | 74 ++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 .github/workflows/cleanup-packages.yml diff --git a/.github/workflows/cleanup-packages.yml b/.github/workflows/cleanup-packages.yml new file mode 100644 index 000000000..2ba55ceb5 --- /dev/null +++ b/.github/workflows/cleanup-packages.yml @@ -0,0 +1,74 @@ +name: Cleanup Packages + +on: push + +jobs: + cleanup_packages: + runs-on: ubuntu-latest + + steps: + - uses: actions/delete-package-versions@v5 + with: + package-name: 's3-mpeg' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'switch-services' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'media-proxy' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'client-gateway' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'public-gateway' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'gateway' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'gateway-scheduler' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'switch-app' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'switch-webserver' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'freeswitch' + package-type: 'container' + delete-only-untagged-versions: 'true' + + - uses: actions/delete-package-versions@v5 + with: + package-name: 'freeswitch-events' + package-type: 'container' + delete-only-untagged-versions: 'true'