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 15
15
include :
16
16
- main
17
17
- support/v1
18
+ - task/move-to-deploy-stage
18
19
19
20
variables :
20
21
buildPlatform : ' Any CPU'
21
22
buildConfiguration : ' Release'
22
23
ProductBinPath : ' $(Build.SourcesDirectory)\src\Microsoft.OpenApi\bin\$(BuildConfiguration)'
23
- REGISTRY : ' msgraphprodregistry .azurecr.io'
24
+ REGISTRY : ' msgraphpperegistry .azurecr.io'
24
25
IMAGE_NAME : ' public/openapi/hidi'
25
- PREVIEW_BRANCH : ' refs/heads/main '
26
+ PREVIEW_BRANCH : ' refs/heads/task/move-to-deploy-stage '
26
27
27
28
resources :
28
29
repositories :
@@ -326,22 +327,28 @@ extends:
326
327
addChangeLog : false
327
328
328
329
- deployment : deploy_docker_image
330
+ templateContext :
331
+ type : releaseJob
332
+ isProduction : true
333
+ inputs :
334
+ - input : pipelineArtifact
335
+ targetPath : ' $(Pipeline.Workspace)'
329
336
strategy :
330
337
runOnce :
331
338
deploy :
332
339
pool :
333
340
vmImage : ' ubuntu-latest'
334
341
steps :
335
- - checkout : self
342
+ # - checkout: self
336
343
337
344
- task : AzureCLI@2
338
345
displayName : ' Login to Azure Container Registry'
339
346
inputs :
340
- azureSubscription : ' ACR Images Push Service Connection '
347
+ azureSubscription : ' ACR Push Test '
341
348
scriptType : bash
342
349
scriptLocation : inlineScript
343
350
inlineScript : |
344
- az acr login --name msgraphprodregistry
351
+ az acr login --name msgraphpperegistry
345
352
346
353
- powershell : |
347
354
$content = [XML](Get-Content ./Directory.Build.props)
You can’t perform that action at this time.
0 commit comments