fix(ci): changed the way of setting mirrors of apk
Some checks failed
CI / build-and-publish (push) Failing after 1m6s

This commit is contained in:
2026-05-12 10:56:05 +03:30
parent 330fd88ecc
commit 7ddb71d747

View File

@@ -19,7 +19,9 @@ jobs:
ALPINE_MIRROR: ${{ secrets.ALPINE_MIRROR }} ALPINE_MIRROR: ${{ secrets.ALPINE_MIRROR }}
run: | run: |
set -e 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 update
apk add --no-cache git apk add --no-cache git