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