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