fix: use correct curl flags for Gitea Alpine registry upload
All checks were successful
Build and Publish APK Package / build-apk (push) Successful in 47s
Build and Push Docker Container / build-and-push (push) Successful in 1m49s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 03:26:39 +02:00
parent 81c63ad05f
commit 9d29f4ad2b

View File

@@ -54,7 +54,7 @@ jobs:
- name: Publish to Gitea Registry
run: |
apk_file=$(find ~build/packages -name "*.apk" -type f | head -1)
curl --fail-with-body -X PUT \
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
-T "$apk_file" \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/alpine"
curl --fail-with-body \
--user "${{ github.repository_owner }}:${{ secrets.ACCESS_TOKEN }}" \
--upload-file "$apk_file" \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/alpine/edge/main"