File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 1515 include :
1616 - main
1717 - support/v1
18+ - task/move-to-deploy-stage
1819
1920variables :
2021 buildPlatform : ' Any CPU'
2122 buildConfiguration : ' Release'
2223 ProductBinPath : ' $(Build.SourcesDirectory)\src\Microsoft.OpenApi\bin\$(BuildConfiguration)'
23- REGISTRY : ' msgraphprodregistry .azurecr.io'
24+ REGISTRY : ' msgraphpperegistry .azurecr.io'
2425 IMAGE_NAME : ' public/openapi/hidi'
25- PREVIEW_BRANCH : ' refs/heads/main '
26+ PREVIEW_BRANCH : ' refs/heads/task/move-to-deploy-stage '
2627
2728resources :
2829 repositories :
@@ -326,22 +327,28 @@ extends:
326327 addChangeLog : false
327328
328329 - deployment : deploy_docker_image
330+ templateContext :
331+ type : releaseJob
332+ isProduction : true
333+ inputs :
334+ - input : pipelineArtifact
335+ targetPath : ' $(Pipeline.Workspace)'
329336 strategy :
330337 runOnce :
331338 deploy :
332339 pool :
333340 vmImage : ' ubuntu-latest'
334341 steps :
335- - checkout : self
342+ # - checkout: self
336343
337344 - task : AzureCLI@2
338345 displayName : ' Login to Azure Container Registry'
339346 inputs :
340- azureSubscription : ' ACR Images Push Service Connection '
347+ azureSubscription : ' ACR Push Test '
341348 scriptType : bash
342349 scriptLocation : inlineScript
343350 inlineScript : |
344- az acr login --name msgraphprodregistry
351+ az acr login --name msgraphpperegistry
345352
346353 - powershell : |
347354 $content = [XML](Get-Content ./Directory.Build.props)
You can’t perform that action at this time.
0 commit comments