зеркало из https://github.com/Azure/iotedge.git
docker login fix for image build (#765)
Fix docker login to use cmd task instead of powershell task
This commit is contained in:
Родитель
43d47b04c4
Коммит
6f7c6cdbff
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче