Skip to content

Commit

Permalink
Update build.yaml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
robch committed Oct 14, 2023
1 parent b0a88d1 commit 53ea881
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .azure/pipelines/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,18 @@ jobs:
containerRegistry: 'acrbn-acr'
command: 'login'
- task: Docker@2
displayName: Build ($(dockerfile) - $AICLIVersion - $tags)
displayName: Build ($(dockerfile) - $(AICLIVersion) - $(tags))
inputs:
command: 'build'
containerRegistry: 'acrbn-acr'
repository: 'azure-ai-cli'
Dockerfile: $(dockerfile)
arguments: '--build-arg AZURE_CLI_VERSION=$(AICLIVersion) --build-arg DOWNLOAD_SCRIPT=true'
buildContext: '.'
tags: |
$(tags)
- task: Docker@2
displayName: Push ($(dockerfile) - $tags)
displayName: Push ($(dockerfile) - $(tags))
inputs:
command: 'push'
containerRegistry: 'acrbn-acr'
Expand Down

0 comments on commit 53ea881

Please sign in to comment.