Skip to content

Commit

Permalink
Updating the repo the azure cli is installed from
Browse files Browse the repository at this point in the history
CircleCI is now using Ubuntu 20.04 for the Go 1.18 image. The
azure CLI is expecting a version older than that. This change
updates.

Note, we have been using the debian name for the repo rather than
the ubuntu name. bullseye maps to Ubuntu 20.04 through 21.10.

Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 9fbf1b3)
  • Loading branch information
mattfarina committed Oct 12, 2022
1 parent 35af809 commit a59afc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/deploy.sh
Expand Up @@ -34,7 +34,7 @@ else
fi

echo "Installing Azure CLI"
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ stretch main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ bullseye main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add
sudo apt install apt-transport-https
sudo apt update
Expand Down

0 comments on commit a59afc4

Please sign in to comment.