From 835ebafc2108796aa5928e674f0c8f054b597439 Mon Sep 17 00:00:00 2001 From: cat-shark <1716967236@qq.com> Date: Sun, 19 Jul 2026 20:43:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BD=BF=E7=94=A8=20apt-get=20?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=20apk=20(Ubuntu=20runner)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 558af31..f9d0288 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: - name: Build & Push Docker image run: | - apk add --no-cache docker-cli + apt-get update -qq && apt-get install -y -qq docker.io TAG=${{ gitea.sha }} docker build \ --build-arg BUILD_MODE=${{ inputs.environment == 'prod' && 'production' || 'development' }} \ @@ -42,7 +42,6 @@ jobs: - name: Setup kubectl run: | - apk add --no-cache curl curl -sLO "https://dl.k8s.io/release/v1.30.0/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/