We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a22c30 commit bd2eb46Copy full SHA for bd2eb46
.github/workflows/build-publish-mcr.yml
@@ -143,8 +143,9 @@ jobs:
143
sudo apt-get update
144
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
145
- name: 'Login the ACR'
146
+ # Note (chenyu1): must login with root privileges to have Docker access.
147
run: |
- az login --identity
148
+ sudo az login --identity
149
sudo az acr login -n ${{ secrets.AZURE_REGISTRY }}
150
- name: 'Verify Docker CLI'
151
# Note (chenyu1): the Docker installation has to be invoked with root privileges by default; for
0 commit comments