update setup docker step
deploy Details

This commit is contained in:
DataHearth 2023-04-10 18:59:06 +02:00
parent 1887778a78
commit d52558922e
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
1 changed files with 7 additions and 7 deletions

View File

@ -12,16 +12,16 @@ jobs:
steps:
- name: Set up Docker
run: |
apt update -y
apt install -y ca-certificates curl gnupg
apt-get update -y
apt-get install -y ca-certificates curl gnupg
mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update -y
apt install -y docker-ce docker-ce-cli containerd.io
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update -y
apt-get install -y docker-ce docker-ce-cli containerd.io
docker version
- name: Set up QEMU