From 7ddb71d7478cb7a4acf0ddf7577c06519d6f3217 Mon Sep 17 00:00:00 2001 From: db123 Date: Tue, 12 May 2026 10:56:05 +0330 Subject: [PATCH] fix(ci): changed the way of setting mirrors of apk --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93849a0..62b0ef8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,9 @@ jobs: ALPINE_MIRROR: ${{ secrets.ALPINE_MIRROR }} run: | set -e - echo "$ALPINE_MIRROR" > /etc/apk/repositories + ALPINE_VERSION=$(cat /etc/alpine-release | cut -d'.' -f1-2) && \ + echo "${ALPINE_MIRROR}v${ALPINE_VERSION}/main" > /etc/apk/repositories && \ + echo "${ALPINE_MIRROR}v${ALPINE_VERSION}/community" >> /etc/apk/repositories apk update apk add --no-cache git