Skip to content

Commit bd2eb46

Browse files
committed
Minor fixes
Signed-off-by: michaelawyu <[email protected]>
1 parent 0a22c30 commit bd2eb46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-publish-mcr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ jobs:
143143
sudo apt-get update
144144
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
145145
- name: 'Login the ACR'
146+
# Note (chenyu1): must login with root privileges to have Docker access.
146147
run: |
147-
az login --identity
148+
sudo az login --identity
148149
sudo az acr login -n ${{ secrets.AZURE_REGISTRY }}
149150
- name: 'Verify Docker CLI'
150151
# Note (chenyu1): the Docker installation has to be invoked with root privileges by default; for

0 commit comments

Comments
 (0)