Authenticate as repository owner

This commit is contained in:
2025-12-10 21:56:41 +01:00
parent 9ad41db9d4
commit 33db7776d3

View File

@ -32,7 +32,7 @@ jobs:
run: |
# Gitea automatically provides the token and actor variables
echo ${{ secrets.REPOSITORY_TOKEN }} | helm registry login ${{ env.REGISTRY_HOST }} \
--username ${{ gitea.actor }} \
--username ${{ gitea.repository_owner }} \
--password-stdin
- name: Push to Gitea Registry
@ -46,4 +46,4 @@ jobs:
# Push to the OCI registry
# URL Format: oci://<domain>/<user/org>/charts
helm push $CHART_FILE oci://$DOMAIN/${{ gitea.actor }}/charts
helm push $CHART_FILE oci://$DOMAIN/${{ gitea.repository_owner }}/charts