update setup docker step
deploy Details

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

View File

@ -11,7 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Docker
run: curl -fsSL https://get.docker.com | sh
run: |
apt update -y
apt 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
docker version
- name: Set up QEMU
uses: docker/setup-qemu-action@v2