From 77646cd40e0bd13c93c8ba585e3a2492a077d082 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 5 Jul 2023 09:13:44 +0200 Subject: [PATCH] added cleanup artifacts task on CI pipline --- .github/workflows/buildReporting.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/buildReporting.yml b/.github/workflows/buildReporting.yml index 0f5a9847..a0dd5354 100644 --- a/.github/workflows/buildReporting.yml +++ b/.github/workflows/buildReporting.yml @@ -176,3 +176,15 @@ jobs: env: COSIGN_EXPERIMENTAL: true TAGS: ${{ steps.meta.outputs.tags }} + + cleanup: + needs: docker-build + # Run only on tagging + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + steps: + - + name: Delete Artifacts + uses: geekyeggo/delete-artifact@v2 + with: + name: Package