Skip to content

Commit f9a57f5

Browse files
authored
Fix packaging pipeline (#1657)
Change ACR login for downloading docker image
1 parent ec95d82 commit f9a57f5

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.pipelines/stages/jobs/steps/capi-linux-step.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,15 @@ steps:
3636
echo "build_config=${{ parameters.build_config }}"
3737
displayName: 'Print Parameters'
3838

39+
- task: Docker@2
40+
displayName: 'Login to Azure container registry'
41+
inputs:
42+
containerRegistry: 'onnxruntimebuildcache'
43+
command: 'login'
44+
addPipelineData: false
45+
3946
- bash: |
4047
set -e -x
41-
az login --identity --object-id c90de106-42dc-405a-8bad-2438f4279448
42-
az acr login --name onnxruntimebuildcache --subscription 00c06639-6ee4-454e-8058-8d8b1703bd87
4348
python3 -m pip install requests
4449
python3 tools/ci_build/get_docker_image.py --dockerfile tools/ci_build/github/linux/docker/manylinux/Dockerfile.manylinux2_28_$(ep)_$(cuda_version) \
4550
--context tools/ci_build/github/linux/docker/manylinux \
@@ -52,8 +57,6 @@ steps:
5257

5358
- bash: |
5459
set -e -x
55-
az login --identity --object-id c90de106-42dc-405a-8bad-2438f4279448
56-
az acr login --name onnxruntimebuildcache --subscription 00c06639-6ee4-454e-8058-8d8b1703bd87
5760
python3 -m pip install requests
5861
python3 tools/ci_build/get_docker_image.py --dockerfile tools/ci_build/github/linux/docker/manylinux/Dockerfile.manylinux2_28_$(ep) \
5962
--context tools/ci_build/github/linux/docker/manylinux \

.pipelines/stages/jobs/steps/nuget-validation-step.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ steps:
5858
NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS: 180
5959
- bash: |
6060
set -e -x
61-
az login --identity --object-id c90de106-42dc-405a-8bad-2438f4279448
62-
az acr login --name onnxruntimebuildcache --subscription 00c06639-6ee4-454e-8058-8d8b1703bd87
6361
docker pull $(cuda_docker_image)
6462
6563
docker run \

.pipelines/stages/jobs/steps/python-validation-step.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ steps:
5656
5757
- bash: |
5858
set -e -x
59-
az login --identity --object-id c90de106-42dc-405a-8bad-2438f4279448
60-
az acr login --name onnxruntimebuildcache --subscription 00c06639-6ee4-454e-8058-8d8b1703bd87
6159
docker pull $(cuda_docker_image)
6260
python_exe=/opt/python/cp310-cp310/bin/python3.10
6361

0 commit comments

Comments
 (0)