Skip to content

Commit fb432ef

Browse files
committed
feat: add step to push build
1 parent fd68da8 commit fb432ef

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/rust-sbom.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,12 @@ jobs:
4747
with:
4848
name: sonar-report
4949
path: apps/dev_cli/dev_cli.cdx.json
50+
- name: Push to DepTrack
51+
uses: DependencyTrack/gh-upload-sbom@v3
52+
with:
53+
serverhostname: ${{ secrets.DEPENDENCYTRACK_SERVERHOSTNAME }}
54+
apikey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
55+
projectname: "DevCli"
56+
projectversion: "main"
57+
bomfilename: "apps/dev_cli/dev_cli.cdx.json"
58+
project: aea9514f-95b7-45df-baec-2a761c6139c3

.github/workflows/rust-sonar.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@ jobs:
5454
with:
5555
name: sonar-report
5656
path: sonar-issues.json
57+
- name: SonarQube Scan
58+
uses: SonarSource/sonarqube-scan-action@v4
59+
env:
60+
SONAR_TOKEN: ${{ secrets.SONARQUBE_KEY }}
61+
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}

0 commit comments

Comments
 (0)