Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Add SBOM (Software Bill of Materials) for the EU Cyber Resilience Act (EU CRA) (#15732)

Daniel Marschallb19f1ef76f3c
diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml
index 2491789e6..63526f95e 100644
--- a/.github/workflows/flutter-build.yml
+++ b/.github/workflows/flutter-build.yml
@@ -53,6 +53,34 @@ env:
SIGN_BASE_URL: "${{ secrets.SIGN_BASE_URL }}-2"
jobs:
+ generate-sbom:
+ runs-on: ubuntu-latest
+
+ permissions:
+ contents: write
+
+ steps:
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
+ with:
+ submodules: recursive
+
+ - name: Install Syft
+ uses: anchore/sbom-action/download-syft@v0
+
+ - name: Generate SBOM
+ run: |
+ syft dir:. \
+ -o cyclonedx-json=rustdesk.sbom.json
+
+ - name: Publish Release
+ uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
+ if: env.UPLOAD_ARTIFACT == 'true'
+ with:
+ prerelease: true
+ tag_name: ${{ env.TAG_NAME }}
+ files: |
+ rustdesk.sbom.json
+
generate-bridge:
uses: ./.github/workflows/bridge.yml