add docker apt repo

This commit is contained in:
pat-s 2023-10-05 21:32:54 +02:00
parent cd4271a1ad
commit 183b54fc27
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
1 changed files with 3 additions and 0 deletions

View File

@ -16,7 +16,10 @@ jobs:
apt install -y curl
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update -y
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
apt install -y python helm python3-pip apt-transport-https docker-ce-cli
pip install awscli