chore(ci): use git.klud.top API (internet-reachable)
Release / Build & Release (push) Failing after 13m49s

This commit is contained in:
2026-07-03 15:44:30 +08:00
parent 99d38134b8
commit e984c1f8b5
+4 -4
View File
@@ -70,7 +70,7 @@ jobs:
GITEA_TOKEN: ${{ secrets.TEKTON_RELEASE_TOKEN }}
TAG_NAME: ${{ github.ref_name }}
run: |
API="http://localhost:3000/api/v1/repos/danchie/tekton/releases"
API="https://git.klud.top/api/v1/repos/danchie/tekton/releases"
RELEASE_JSON=$(curl -s -H "Authorization: token $GITEA_TOKEN" "$API/tags/$TAG_NAME")
RELEASE_ID=$(echo "$RELEASE_JSON" | grep -o '"id":[0-9]*' | head -1 | grep -o '[0-9]*')
if [ -z "$RELEASE_ID" ]; then
@@ -89,7 +89,7 @@ jobs:
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
-H "Content-Type: multipart/form-data" \
-F "attachment=@build/tekton_armageddon_windows.exe" \
"http://localhost:3000/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
- name: Upload Linux asset
run: |
@@ -97,7 +97,7 @@ jobs:
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
-H "Content-Type: multipart/form-data" \
-F "attachment=@build/tekton_armageddon_linux.x86_64" \
"http://localhost:3000/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
- name: Upload PCK asset
run: |
@@ -105,4 +105,4 @@ jobs:
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
-H "Content-Type: multipart/form-data" \
-F "attachment=@build/tekton_armageddon.pck" \
"http://localhost:3000/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"