From 14eade0b7e8bcb89b27595f61dacaf9f9707b097 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Jun 2026 15:08:32 -0400 Subject: [PATCH] fix(ci): install git via apk before clone in node:22-alpine image --- .gitea/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ed06696..5fe08e9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -33,6 +33,7 @@ jobs: env: GIT_SSL_NO_VERIFY: "1" run: | + apk add --no-cache git git clone --depth 1 \ "https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \ . @@ -67,6 +68,7 @@ jobs: env: GIT_SSL_NO_VERIFY: "1" run: | + apk add --no-cache git git clone --depth 1 \ "https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \ .