diff --git a/.gitea/workflows/publish-image.yaml b/.gitea/workflows/publish-image.yaml index 34ddf0a..ac2b800 100644 --- a/.gitea/workflows/publish-image.yaml +++ b/.gitea/workflows/publish-image.yaml @@ -41,16 +41,13 @@ jobs: # --- NEW STEP: Download on Host --- - name: Pre-download LLVM Toolchain run: | - # Variable MUST match what is in build-windows.sh - LLVM_VER="20250528" - TARBALL="llvm-mingw-${LLVM_VER}-ucrt-ubuntu-22.04-x86_64.tar.xz" - URL="https://github.com/mstorsjo/llvm-mingw/releases/download/${LLVM_VER}/${TARBALL}" + TARBALL="llvm-mingw-20250528-ucrt-ubuntu-22.04-x86_64.tar.xz" + # Internal Gitea URL + URL="https://gitea.212.63.210.91.nip.io/api/packages/${{ gitea.repository_owner }}/generic/llvm-mingw/20250528/llvm-mingw.tar.xz" - echo "Downloading $TARBALL on runner host..." - wget "$URL" - - echo "Verifying file size..." - ls -lh "$TARBALL" + echo "Fetching from Gitea Registry..." + # Use the Gitea Token for auth + wget --header="Authorization: token ${{ secrets.USER_PACKAGE_PASSWORD }}" -O "$TARBALL" "$URL" - name: Build Windows Target uses: docker://quay.io/buildah/stable