Skip to content

Commit c5944ae

Browse files
author
Evans Aboge (from Dev Box)
committed
Cleanup
1 parent 2ebf87f commit c5944ae

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ trigger:
77
include:
88
- main
99
- support/v1
10+
- task/migrate-acr-pipeline
1011
tags:
1112
include:
1213
- 'v*'
@@ -20,9 +21,9 @@ variables:
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/migrate-acr-pipeline'
2627

2728
resources:
2829
repositories:
@@ -324,19 +325,19 @@ extends:
324325
dependsOn: build
325326
pool:
326327
name: Azure-Pipelines-1ESPT-ExDShared
327-
image: windows-2022
328-
os: windows
328+
image: ubuntu-latest
329+
os: linux
329330
jobs:
330331
- job: buildAndPush
331332
steps:
332333
- task: AzureCLI@2
333334
displayName: 'Login to Azure Container Registry'
334335
inputs:
335-
azureSubscription: 'ACR Images Push Service Connection'
336+
azureSubscription: 'ACR Push Test'
336337
scriptType: bash
337338
scriptLocation: inlineScript
338339
inlineScript: |
339-
az acr login --name msgraphprodregistry
340+
az acr login --name msgraphpperegistry
340341
341342
- powershell: |
342343
$content = [XML](Get-Content ./Directory.Build.props)

0 commit comments

Comments
 (0)