Skip to content

Commit 5167bc8

Browse files
Update Sbom.yml to add ability to allow disabling signing (#50)
* Update Sbom.yml to add ability to disable signing * Fix environment variable name
1 parent 6d9e052 commit 5167bc8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Sbom.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ parameters:
1313
default: '0.0.0'
1414
- name: sourceScanPath
1515
default: $(Build.SourcesDirectory)
16+
- name: signSBOM
17+
default: true
1618

1719
steps:
1820
- task: UseDotNet@2
@@ -52,6 +54,7 @@ steps:
5254
BuildComponentPath: ${{ parameters.sourceScanPath }}
5355
env:
5456
SBOMGenerator_Formats: '${{ parameters.SBOMGenerator_Formats }}'
57+
PACKAGING_ENABLESBOMSIGNING: '${{ parameters.signSBOM }}'
5558
# *** Leaving these as documentation of the rest of the inputs ***
5659
# These should be implemented as needed with backwards compatibility for user that didn't supply the parameters
5760
#

0 commit comments

Comments
 (0)