fix: correct Gitea Alpine package registry upload URL

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 03:15:08 +02:00
parent c12452fff1
commit 53883c04f1

View File

@@ -68,8 +68,7 @@ jobs:
- name: Publish to Gitea Registry - name: Publish to Gitea Registry
run: | run: |
apk_file=$(find ~build/packages -name "*.apk" -type f | head -1) apk_file=$(find ~build/packages -name "*.apk" -type f | head -1)
branch=$(echo "${{ github.ref_name }}" | sed 's/^v//')
curl -X PUT \ curl -X PUT \
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \ -H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
-T "$apk_file" \ -T "$apk_file" \
"${{ github.api_url }}/packages/${{ github.repository_owner }}/apk/${{ github.repository }}/$branch" "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/alpine"