Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Usha committed Dec 10, 2019
1 parent 8c0f9de commit 9277630
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,7 @@ variables:

# Container registry service connection established during pipeline creation
dockerRegistryServiceConnection: 'ee9a5046-aa3b-4a81-ac5d-3a0c6603dd75'
- task: replacetokens@3
inputs:
rootDirectory: 'kubernetes/*'
targetFiles: 'kubernetes/*.yaml'
encoding: 'auto'
writeBOM: true
actionOnMissing: 'warn'
keepToken: false
tokenPrefix: '${'
tokenSuffix: '}'
emptyValue: '$(containerRegistry)': 'javademosregistry.azurecr.io'
containerRegistry: 'javademosregistry.azurecr.io'
imagePullSecret: 'javademosregistry4921c2ff-auth'

# Agent VM image name
Expand Down Expand Up @@ -71,7 +61,7 @@ stages:

- task: replacetokens@3
inputs:
rootDirectory: '$(Pipeline.Workspace)/kubernetes/'
rootDirectory: '$(Pipeline.Workspace)/kubernetes/*'
targetFiles: '*.yaml'
encoding: 'auto'
writeBOM: true
Expand Down

0 comments on commit 9277630

Please sign in to comment.