Skip to content

Commit 39f6e74

Browse files
authored
Use SBOM Manifest Generator Task from 1ES PT (#5464)
1 parent a42714b commit 39f6e74

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

eng/common/templates/jobs/build-images.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,8 @@ jobs:
134134
internalProjectName: ${{ parameters.internalProjectName }}
135135
publicProjectName: ${{ parameters.publicProjectName }}
136136
- ${{ if and(eq(variables['System.TeamProject'], parameters.internalProjectName), ne(variables['Build.Reason'], 'PullRequest')) }}:
137-
# Define the task here to load it into the agent so that we can invoke the tool manually
138-
# TODO: Revert the build-specific pinned version when https://github.com/dotnet/docker-tools/issues/1152 is fixed
139-
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0.197.56
140-
inputs:
141-
BuildDropPath: $(Build.ArtifactStagingDirectory)
142-
displayName: Load Manifest Generator
143-
condition: and(succeeded(), ne(variables['BuildImages.builtImages'], ''))
137+
# The following task depends on the SBOM Manifest Generator task installed on the agent.
138+
# This task is auto-injected by 1ES Pipeline Templates so we don't need to install it ourselves.
144139
- powershell: |
145140
$images = "$(BuildImages.builtImages)"
146141
if (-not $images) { return 0 }

0 commit comments

Comments
 (0)