fix: correct Gitea Alpine package registry upload URL
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user