From 159db37a60005b063c986fe59ace641d1086e0ba Mon Sep 17 00:00:00 2001 From: hhs <386998068@qq.com> Date: Sun, 14 Jun 2026 15:08:52 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E6=89=BE=E4=B8=8D=E5=88=B0=20docker=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 5878cf3..702fe2b 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,6 +11,18 @@ jobs: - name: Checkout uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" + - name: Install Docker CLI + run: | + apk add --no-cache docker-cli docker-cli-compose || \ + apt-get update && apt-get install -y docker.io || \ + { + # 手动下载 docker CLI + curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-24.0.7.tgz -o docker.tgz + tar xzf docker.tgz + mv docker/docker /usr/local/bin/ + rm -rf docker docker.tgz + } + - name: Build and Deploy run: | chmod +x deploy.sh