From 4af58671966efb291242a16df5add4a4b166a806 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 15 Aug 2024 22:05:51 -0400 Subject: [PATCH] forgejo-ci: use forge repo --- .forgejo/patches/build.patch | 2 +- .forgejo/workflows/build-edge.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/patches/build.patch b/.forgejo/patches/build.patch index 8411df6..af46a14 100644 --- a/.forgejo/patches/build.patch +++ b/.forgejo/patches/build.patch @@ -17,7 +17,7 @@ index c3b8f7a..dc5d72b : "${REPODEST:=$HOME/packages}" -: "${MIRROR:=https://dl-cdn.alpinelinux.org/alpine}" -+: "${MIRROR:=https://lab.ilot.io/ayakael/repo-apk/-/raw}" ++: "${MIRROR:=https://ayakael.net/api/packages/forge/alpine} +: "${ALPINE_MIRROR:=http://dl-cdn.alpinelinux.org/alpine}" : "${MAX_ARTIFACT_SIZE:=300000000}" #300M : "${CI_DEBUG_BUILD:=}" diff --git a/.forgejo/workflows/build-edge.yaml b/.forgejo/workflows/build-edge.yaml index a9d5757..57d7fdc 100644 --- a/.forgejo/workflows/build-edge.yaml +++ b/.forgejo/workflows/build-edge.yaml @@ -15,8 +15,9 @@ jobs: steps: - name: Environment setup run: | - doas apk add nodejs git patch - doas wget -P /etc/apk/keys 'https://ayakael.net/pkgs/apk/raw/branch/edge/antoine.martin@protonmail.com-5b3109ad.rsa.pub' + doas apk add nodejs git patch curl + cd /etc/apk/keys + doas curl -JO https://ayakael.net/api/packages/forge/alpine/key - name: Repo pull uses: actions/checkout@v4 with: