From 1478a9f5c7346b05560e22e81f33892c6794aa41 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 21 Aug 2024 10:21:49 -0400 Subject: [PATCH] forgejo-ci: use new forge repo --- .forgejo/patches/build.patch | 2 +- .forgejo/workflows/build-aarch64.yaml | 5 +++-- .forgejo/workflows/build-x86_64.yaml | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.forgejo/patches/build.patch b/.forgejo/patches/build.patch index 82523a1..218c9b4 100644 --- a/.forgejo/patches/build.patch +++ b/.forgejo/patches/build.patch @@ -17,7 +17,7 @@ index c3b8f7a..f609018 : "${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-aarch64.yaml b/.forgejo/workflows/build-aarch64.yaml index 30486df..d6738b2 100644 --- a/.forgejo/workflows/build-aarch64.yaml +++ b/.forgejo/workflows/build-aarch64.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: diff --git a/.forgejo/workflows/build-x86_64.yaml b/.forgejo/workflows/build-x86_64.yaml index 60113d9..8731799 100644 --- a/.forgejo/workflows/build-x86_64.yaml +++ b/.forgejo/workflows/build-x86_64.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: