From cb56cedb1f9f85aefa7d10afa612c2810bc655a4 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Mon, 28 Sep 2026 16:00:00 +0200 Subject: [PATCH] fix: create dist-release dir before SBOM output writes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit anchore/sbom-action does not create the output directory — the v0.8.1 run scanned images fine (lowercase owner works) but ENOENT'd writing dist-release/sbom-*.cdx.json. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22418ee..45ecd69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -339,6 +339,8 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + # anchore/sbom-action does not create the output directory. + - run: mkdir -p dist-release - uses: anchore/sbom-action@v0 with: image: ghcr.io/${{ env.GHCR_OWNER }}/primora-backend:${{ needs.verify.outputs.version }}