2828    value : $(artifactsPath)/imageInfo 
2929  - name : sourceBuildIdOutputDir 
3030    value : $(Build.ArtifactStagingDirectory)/sourceBuildId 
31-   - name : imageInfoRawContentUrl 
32-     value : https://raw.githubusercontent.com/$(gitHubVersionsRepoInfo.org)/$(gitHubVersionsRepoInfo.repo)/$(gitHubVersionsRepoInfo.branch)/$(gitHubImageInfoVersionsPath) 
3331  - ${{ parameters.customPublishVariables }} 
3432  steps :
3533  - template : /eng/common/templates/steps/retain-build.yml@self 
@@ -106,10 +104,8 @@ jobs:
106104    parameters :
107105      dryRunArg : $(dryRunArg) 
108106      condition : and(succeeded(), eq(variables['publishReadme'], 'true')) 
109-   - script : | 
110-       mkdir -p $(Build.ArtifactStagingDirectory)/eol-annotation-data 
111-       curl -fSL --output $(Build.ArtifactStagingDirectory)/eol-annotation-data/image-info-old.json $(imageInfoRawContentUrl) 
112-     displayName: Download Original Image Info File 
107+   - script : mkdir -p $(Build.ArtifactStagingDirectory)/eol-annotation-data 
108+     displayName : Create EOL Annotation Data Directory 
113109  - script : > 
114110      $(runImageBuilderCmd) publishImageInfo 
115111      '$(imageInfoContainerDir)/image-info.json' 
@@ -120,12 +116,12 @@ jobs:
120116      --git-repo '$(gitHubVersionsRepoInfo.repo)' 
121117      --git-branch '$(gitHubVersionsRepoInfo.branch)' 
122118      --git-path '$(gitHubImageInfoVersionsPath)' 
119+       --image-info-orig-path '$(artifactsPath)/eol-annotation-data/image-info-old.json' 
120+       --image-info-update-path '$(artifactsPath)/eol-annotation-data/image-info-new.json' 
123121      $(dryRunArg) 
124122      $(imageBuilder.commonCmdArgs) 
125123    condition: and(succeeded(), eq(variables['publishImageInfo'], 'true')) 
126124    displayName: Publish Image Info 
127- script : curl -fSL --output $(Build.ArtifactStagingDirectory)/eol-annotation-data/image-info-new.json $(imageInfoRawContentUrl) 
128-     displayName : Download Updated Image Info File 
129125template : /eng/common/templates/steps/run-imagebuilder.yml@self 
130126    parameters :
131127      displayName : Ingest Kusto Image Info 
@@ -154,8 +150,8 @@ jobs:
154150        '$(artifactsPath)/eol-annotation-data/eol-annotation-data.json' 
155151        '$(artifactsPath)/eol-annotation-data/image-info-old.json' 
156152        '$(artifactsPath)/eol-annotation-data/image-info-new.json' 
157-         '$(publishRepoPrefix)' 
158153        '$(acr.server)' 
154+         '$(publishRepoPrefix)' 
159155        $(generateEolAnnotationDataExtraOptions) 
160156        $(dryRunArg) 
161157template : /eng/common/templates/steps/publish-artifact.yml@self 
0 commit comments