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