Add owner and repo fields

This commit is contained in:
2025-10-30 10:33:01 -05:00
parent e4c188ee8b
commit c37073e0cf

View File

@@ -8,6 +8,12 @@ inputs:
token:
description: 'Gitea PAT'
required: true
owner:
description: 'account or org to publish to'
default: 'packages'
repo:
description: 'destination db'
default: 'microverse'
runs:
using: "composite"
@@ -22,7 +28,7 @@ runs:
echo '📤️ Uploading package to ${{ gitea.server_url }} ...'
curl -f --user \"\$username:\$token\" \
--upload-file ./*.tar.zst \
'${{ gitea.server_url }}/api/packages/packages/arch/microverse'
'${{ gitea.server_url }}/api/packages/${{ inputs.owner }}/arch/${{ inputs.repo }}'
" > "./post-entrypoint.sh"
chmod +x "./post-entrypoint.sh"
git config --global user.name 'Guy Incognito'