Skip to content

Commit

Permalink
Use SBOM Manifest Generator Task from 1ES PT (#1283)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussell authored May 14, 2024
1 parent 95d7a95 commit 7b8f032
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions eng/common/templates/jobs/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,8 @@ jobs:
internalProjectName: ${{ parameters.internalProjectName }}
publicProjectName: ${{ parameters.publicProjectName }}
- ${{ if and(eq(variables['System.TeamProject'], parameters.internalProjectName), ne(variables['Build.Reason'], 'PullRequest')) }}:
# Define the task here to load it into the agent so that we can invoke the tool manually
# TODO: Revert the build-specific pinned version when https://github.com/dotnet/docker-tools/issues/1152 is fixed
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0.197.56
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)
displayName: Load Manifest Generator
condition: and(succeeded(), ne(variables['BuildImages.builtImages'], ''))
# The following task depends on the SBOM Manifest Generator task installed on the agent.
# This task is auto-injected by 1ES Pipeline Templates so we don't need to install it ourselves.
- powershell: |
$images = "$(BuildImages.builtImages)"
if (-not $images) { return 0 }
Expand Down

0 comments on commit 7b8f032

Please sign in to comment.