Skip to content

Commit 4519068

Browse files
author
Evans Aboge (from Dev Box)
committed
Remove checkout step
1 parent 80d2a2f commit 4519068

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ pr:
1515
include:
1616
- main
1717
- support/v1
18+
- task/move-to-deploy-stage
1819

1920
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/move-to-deploy-stage'
2627

2728
resources:
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)

0 commit comments

Comments
 (0)