From cba894d49868297f4931fde60eff306fcb88fd03 Mon Sep 17 00:00:00 2001 From: cicdguy <26552821+cicdguy@users.noreply.github.com> Date: Sun, 10 Mar 2024 21:07:37 -0500 Subject: [PATCH] Reclaim disk space for SBOM creation --- .github/workflows/deploy.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 2107e14..c7c0bcd 100755 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -268,6 +268,17 @@ jobs: docker run -v ${PWD}:/app ${{ steps.build_vars.outputs.OUTPUT_IMAGE_NAME }} \ R -e 'write.csv(installed.packages(), file="/app/package_list.csv")' + - name: Reclaim Disk Space for SBOM Generation 🚮 + uses: insightsengineering/disk-space-reclaimer@v1 + with: + tools-cache: false + android: true + dotnet: true + haskell: true + large-packages: true + swap-storage: false + docker-images: true + - name: Generate SBOM 📃 uses: anchore/sbom-action@v0 with: