From 22bffd0f844d51e5fc97626c635dbbf2369df136 Mon Sep 17 00:00:00 2001 From: Rik Berkelder Date: Wed, 15 Jan 2025 02:03:12 +0100 Subject: [PATCH] CI install docker manually? --- .gitea/workflows/deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d595aec..7a5f4b7 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -7,6 +7,20 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Docker install + run: | + export DEBIAN_FRONTEND=noninteractive + apt update + apt install ca-certificates curl + install -m 0755 -d /etc/apt/keyrings + curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc + chmod a+r /etc/apt/keyrings/docker.asc + echo \ + "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] 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 + apt-get install docker-ce docker-ce-cli containerd.io - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Docker Login