Skip to content

Commit

Permalink
sbom tool setup (#141)
Browse files Browse the repository at this point in the history
* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

* merge from master (#12)

* SBOM manifest generation (#138)

* Adding SBOM generation step (#135)

Signed-off-by: MD Ashique <[email protected]>

* Java lib release (#137)

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

---------

Signed-off-by: MD Ashique <[email protected]>

---------

Signed-off-by: MD Ashique <[email protected]>

* Java lib release (#139)

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

---------

Signed-off-by: MD Ashique <[email protected]>

---------

Signed-off-by: MD Ashique <[email protected]>

* Adding SBOM generation step

Signed-off-by: MD Ashique <[email protected]>

---------

Signed-off-by: MD Ashique <[email protected]>
  • Loading branch information
ASHIQUEMD authored Aug 4, 2023
1 parent ab657df commit 711c8be
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,13 @@ jobs:
- name: Generate SBOM manifest
if: startsWith(github.ref, 'refs/tags/v')
run: |
curl -Lo sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64
chmod +x sbom-tool
./sbom-tool generate -b ${{ env.MAVEN_OUTDIR }} -pn "Azure Functions Dapr Java Triggers and Bindings" -pv "${{ env.REL_VERSION }}"
sudo apt-get update
sudo apt-get install wget
wget https://github.com/microsoft/sbom-tool/releases/download/v1.2.0/sbom-tool-linux-x64
chmod +x sbom-tool-linux-x64
ls -l sbom-tool-linux-x64
sudo mv sbom-tool-linux-x64 /usr/local/bin/sbom-tool
sbom-tool generate -b ${{ env.MAVEN_OUTDIR }} -pn "Azure Functions Dapr Java Triggers and Bindings" -pv "${{ env.REL_VERSION }}"
working-directory: ${{ env.JAVA_LIB_WORKING_DIRECTORY }}
- name: Upload .Net artifacts
uses: actions/upload-artifact@master
Expand Down

0 comments on commit 711c8be

Please sign in to comment.