Skip to content

Commit ff6e83b

Browse files
authored
fix: address a minor issue in the ARM64 image build pipeline (#1200)
2 parents 0a22c30 + bd2eb46 commit ff6e83b

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)