diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7cff97f..04f2f8b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -134,7 +134,8 @@ jobs: - name: Create release run: | - curl -X POST -H "Authorization: token ${{ vars.PACKAGES_REGISTRY_PASSWORD }}" \ + curl -X POST \ + -u "${{ vars.PACKAGES_REGISTRY_USERNAME }}:${{ vars.PACKAGES_REGISTRY_PASSWORD }}" \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -d "{\"tag_name\": \"${{ steps.get_next_version.outputs.tag }}\", \"name\": \"${{ steps.get_next_version.outputs.tag }}\", \"body\": \"${{ steps.get_next_version.outputs.changelog }}\"}" \