From 58e61f50ca2fb4031b5c7205fbb8aec608116550 Mon Sep 17 00:00:00 2001 From: Daniel Kotik Date: Thu, 30 May 2024 15:29:30 +0200 Subject: [PATCH] Add workflow to delete untagged containers: This workflow can only be triggered manually, see https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow. Closes #516 --- .github/workflows/cleanup.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/cleanup.yml diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml new file mode 100644 index 000000000..2568b55ad --- /dev/null +++ b/.github/workflows/cleanup.yml @@ -0,0 +1,15 @@ +name: Delete Untagged Container Versions + +on: + workflow_dispatch: + +jobs: + delete-untagged-containers: + runs-on: ubuntu-latest + steps: + - name: mala_conda_cpu + - uses: actions/delete-package-versions@v5 + with: + package_name: 'mala_conda_cpu' + package_type: 'container' + delete-only-untagged-versions: 'true'