Skip to content

Commit

Permalink
docker login fix for image build (#765)
Browse files Browse the repository at this point in the history
Fix docker login to use cmd task instead of powershell task
  • Loading branch information
philipktlin authored Jan 29, 2019
1 parent 43d47b0 commit 6f7c6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builds/misc/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ jobs:
inputs:
PathtoPublish: '$(Build.BinariesDirectory)/publish'
ArtifactName: 'core-windows'
- powershell: '"$(registry.password)" | docker login "edgebuilds.azurecr.io" -u "$(registry.user)" --password-stdin'
displayName: 'Docker Login'
- script: echo $(registry.password)|docker login "edgebuilds.azurecr.io" -u "$(registry.user)" --password-stdin
displayName: Docker Login

# Edge Agent
- template: templates/image-windows.yaml
Expand Down

0 comments on commit 6f7c6cd

Please sign in to comment.