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
andr0272 committed Nov 9, 2023
1 parent b04094a commit bd5339b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ resources:
pool: dts-ado-build-pool

variables:
tag: '$(Build.BuildId)'
azure.servicePrincipal: 'DTS Shared Container Repo 11/09/2023'
azureContainerRegistry.name: 'DTS Shared Container Repo 10/11/2023'
azureContainerRegistry.repository: 'next-template'
azureContainerRegistry.tag: '$(Build.BuildId)'

stages:
- stage: BuildandPush
Expand All @@ -24,7 +27,9 @@ stages:
displayName: Build and push an image to Azure container registry
inputs:
command: 'buildAndPush'
containerRegistry: 'Azure Container Registry - DTS'
containerRegistry: '$(azure.servicePrincipal)'
Dockerfile: '**/Dockerfile'
repository: 'next-template'
tags: 'azure-$(Build.BuildId)-dev'
repository: '$(azureContainerRegistry.repository)'
tags: |
$(azureContainerRegistry.tag)
latest

0 comments on commit bd5339b

Please sign in to comment.