so the image is called ubuntu-latest but actually it uses debian codenames so use the docker debian repo instead of the ubuntu one
Deploy / Deploy (push) Successful in 1m27s Details

This commit is contained in:
Rik Berkelder 2025-01-15 02:12:12 +01:00
parent 7706a1f8f3
commit 5c05bbf751
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ jobs:
apt-get update apt-get update
apt-get install -yqq ca-certificates curl apt-get install -yqq ca-certificates curl
install -m 0755 -d /etc/apt/keyrings install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc chmod a+r /etc/apt/keyrings/docker.asc
echo \ echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update apt-get update