Skip to content

Add 5 SBOM generation and upload workflows for webui, server and cli#1684

Open
lukpueh wants to merge 2 commits intoeclipse:masterfrom
lukpueh:sboms
Open

Add 5 SBOM generation and upload workflows for webui, server and cli#1684
lukpueh wants to merge 2 commits intoeclipse:masterfrom
lukpueh:sboms

Conversation

@lukpueh
Copy link

@lukpueh lukpueh commented Mar 16, 2026

Friendly take-over of #1640. @iliescuioana, please pre-review before I remove the draft label.

Adds workflows to generate SBOMs and upload them sbom-staging.eclipse.org via pia-staging.eclipse.org.

Added workflows:

  • 2 for webui and server docker images
  • 2 for webui and cli yarn builds
  • 1 for server gradle build

See commit message for details.

lukpueh and others added 2 commits March 16, 2026 15:00
* Adds two workflows to generate SBOMs from webui and server docker
  images using 'anchore/sbom-action' on 'registry_package' events (i.e.
  when an image is published in the registry).
* Adds one workflow to genrate an SBOM for the server gradle build using
  the CycloneDX Gradle plugin injected via init script on version tag
  pushes.
* All workflows can also be triggered with workflow_dispatch for backfilling
  and testing.
* SBOMs are uploaded to sbom-staging.eclipse.org via
  pia-staging.eclipse.org.
* Upload logic is extracted into a reusable composite action
* Using separate workflows per SBOM upload is currently required by PIA
  (as it would be by Otterdog). It also makes the workflows simpler,
  with only little code repetition.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
Split generate-yarn-sboms.yml from eclipse#1640 into two separate workflows.

Key changes from the original:
- Two instead of one workflows. This is currently required by PIA (and
  would be required by Otterdog). It leads to some code repetition, but
  removes case handling.
- Triggers on tag push (cli-*, webui-*) instead of release events. This
  simplifies conditional job run and tag name extraction.
- Does not strip the webui-/cli- prefix from the version string sent to
  PIA/DependencyTrack.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
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