From a3dc432f8d8266e725a660a5573b54804620295c Mon Sep 17 00:00:00 2001 From: hhhhhh <2164677906@qq.com> Date: Sat, 19 Jul 2025 13:44:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/ci.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0c8fd0d..409763f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,7 +5,7 @@ on: jobs: build: - runs-on: ubuntu-latest-2 + runs-on: ubuntu-latest steps: - name: 克隆本地 checkout action run: | @@ -51,14 +51,12 @@ jobs: sudo apt update sudo apt install -y docker.io - - name: 安装 Docker Compose(直接下载二进制文件) + - name: 安装 Docker Compose 插件 run: | - COMPOSE_VERSION=v2.23.0 - sudo curl -L "https://ghproxy.com/https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" \ - -o /usr/local/bin/docker-compose - sudo chmod +x /usr/local/bin/docker-compose - docker-compose --version + sudo apt-get update + sudo apt-get install -y docker-compose-plugin + docker compose version - name: 构建 Docker 镜像 run: | - docker-compose build \ No newline at end of file + docker compose build \ No newline at end of file