Skip to content

Commit 63e3930

Browse files
committed
Minor changes
Signed-off-by: michaelawyu <chenyu1@microsoft.com>
1 parent 8363bd1 commit 63e3930

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,18 @@ jobs:
6565
run:
6666
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
6767
- name: 'Set up Docker'
68-
uses: docker/setup-docker-action@v4
68+
run:
69+
sudo apt-get update
70+
sudo apt-get install ca-certificates curl
71+
sudo install -m 0755 -d /etc/apt/keyrings
72+
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
73+
sudo chmod a+r /etc/apt/keyrings/docker.asc
74+
echo \
75+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
76+
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
77+
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
78+
sudo apt-get update
79+
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
6980
- name: 'Login the ACR'
7081
run: |
7182
az login --identity

0 commit comments

Comments
 (0)