Spaces:
Runtime error
Runtime error
Download .github/workflows/sbom-syft.yml from SZLHOLDINGS/a11oy: direct link, hf CLI and curl.
- Browser
- Download file 973 Bytes
-
https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/ab59652ff4358b0bffd919e2c7c41ce7d2e42813/.github/workflows/sbom-syft.yml
- Command line
-
hf download hf://spaces/SZLHOLDINGS/a11oy@ab59652ff4358b0bffd919e2c7c41ce7d2e42813/.github/workflows/sbom-syft.yml
-
curl -L -o sbom-syft.yml https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/ab59652ff4358b0bffd919e2c7c41ce7d2e42813/.github/workflows/sbom-syft.yml
973 Bytes
| # .github/workflows/sbom-syft.yml | |
| # SZL Holdings — SBOM generation via Syft (Anchore lift) | |
| # Doctrine v11 LOCKED 749/14/163. SLSA L1 honest. | |
| # Signed-off-by: Yachay <yachay@szlholdings.ai> | |
| # Co-Authored-By: Perplexity Computer Agent <agent@perplexity.ai> | |
| name: SBOM — Syft (Anchore) | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| sbom: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Syft | |
| run: | | |
| curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin v1.5.0 | |
| - name: Generate SPDX SBOM | |
| run: | | |
| syft . -o spdx-json > sbom.spdx.json | |
| echo "SBOM generated: $(wc -l < sbom.spdx.json) lines" | |
| - name: Upload SBOM artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: sbom-spdx | |
| path: sbom.spdx.json | |
| retention-days: 90 | |