diff --git a/.github/workflows/build-publish-mcr.yml b/.github/workflows/build-publish-mcr.yml index b4d17b0be..d3758477a 100644 --- a/.github/workflows/build-publish-mcr.yml +++ b/.github/workflows/build-publish-mcr.yml @@ -145,7 +145,7 @@ jobs: - name: 'Login the ACR' run: | az login --identity - az acr login -n ${{ secrets.AZURE_REGISTRY }} + sudo az acr login -n ${{ secrets.AZURE_REGISTRY }} - name: 'Verify Docker CLI' # Note (chenyu1): the Docker installation has to be invoked with root privileges by default; for # simplicity reasons in this pipeline we will make no attempt to enable rootless Docker usage.