Skip to content

Add caching support for license DBs, Trivy, and Syft#153

Open
vpetersson wants to merge 1 commit intomasterfrom
caching
Open

Add caching support for license DBs, Trivy, and Syft#153
vpetersson wants to merge 1 commit intomasterfrom
caching

Conversation

@vpetersson
Copy link
Contributor

Enable persistent caching across CI runs by:

  • Adding SBOMIFY_CACHE_DIR environment variable support to license_db.py
  • Adding cache steps to all SBOM generation jobs in the workflow
  • Documenting caching configuration for GitHub Actions, GitLab CI, Bitbucket Pipelines, and direct Docker usage

This speeds up subsequent runs by reusing cached license databases, Trivy vulnerability databases, and Syft metadata.

Enable persistent caching across CI runs by:
- Adding SBOMIFY_CACHE_DIR environment variable support to license_db.py
- Adding cache steps to all SBOM generation jobs in the workflow
- Documenting caching configuration for GitHub Actions, GitLab CI,
  Bitbucket Pipelines, and direct Docker usage

This speeds up subsequent runs by reusing cached license databases,
Trivy vulnerability databases, and Syft metadata.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant