File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ parameters:
1010 changes : bash -c "apt update -y && apt upgrade -y"
1111 - source : ghcr.io/chaos-mesh/chaos-mesh:v2.6.3
1212 mirror : azsdkengsys.azurecr.io/mirror/chaos-mesh/chaos-mesh:v2.6.3
13- changes : bash -c "apk update && apk upgrade"
13+ changes : sh -c "apk update && apk upgrade"
1414 - source : ghcr.io/chaos-mesh/chaos-dashboard:v2.6.3
1515 mirror : azsdkengsys.azurecr.io/mirror/chaos-mesh/chaos-dashboard:v2.6.3
1616 changes : bash -c "apt update -y && apt upgrade -y"
@@ -36,11 +36,14 @@ extends:
3636
3737 steps :
3838 - ${{ each image in parameters.Images }} :
39- - task : Docker @2
39+ - task : AzureCLI @2
4040 displayName : Login to ${{ split(image.mirror, '.')[0] }}
4141 inputs :
42- command : login
43- containerRegistry : ${{ split(image.mirror, '.')[0] }}
42+ azureSubscription : " Azure SDK Engineering System"
43+ scriptType : pscore
44+ scriptLocation : inlineScript
45+ inlineScript : |
46+ az acr login --name ${{ split(image.mirror, '.')[0] }}
4447 - task : Powershell@2
4548 displayName : Mirror ${{ image.source }} to ${{ image.mirror }}
4649 inputs :
You can’t perform that action at this time.
0 commit comments