added cleanup artifacts task on CI pipline
This commit is contained in:
parent
07d568be6f
commit
77646cd40e
1 changed files with 12 additions and 0 deletions
12
.github/workflows/buildReporting.yml
vendored
12
.github/workflows/buildReporting.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue