File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ extends:
370
370
az acr login --name msgraphpperegistry
371
371
372
372
- powershell : |
373
- $content = [XML](Get-Content $(Pipeline.Workspace)/RepoFiles/ Directory.Build.props)
373
+ $content = [XML](Get-Content $(Pipeline.Workspace)/Directory.Build.props)
374
374
Write-Host "XML loaded, finding version..."
375
375
376
376
# Handle PropertyGroup as either a single element or array
@@ -459,7 +459,7 @@ extends:
459
459
--push \
460
460
-t "$(REGISTRY)/$(IMAGE_NAME):nightly" \
461
461
-t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}.${BUILDDATE}${RUNNUMBER}" \
462
- "$(Pipeline.Workspace)/RepoFiles "
462
+ "$(Pipeline.Workspace)"
463
463
464
464
displayName: 'Build and Push Nightly Image'
465
465
condition: eq(variables['Build.SourceBranch'], variables['PREVIEW_BRANCH'])
@@ -471,6 +471,6 @@ extends:
471
471
--push \
472
472
-t "$(REGISTRY)/$(IMAGE_NAME):latest" \
473
473
-t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}.${BUILDDATE}${RUNNUMBER}" \
474
- "$(Pipeline.Workspace)/RepoFiles "
474
+ "$(Pipeline.Workspace)"
475
475
displayName: 'Build and Push Release Image'
476
476
condition: contains(variables['Build.SourceBranch'], 'refs/tags/v')
You can’t perform that action at this time.
0 commit comments