Authenticate as repository owner
This commit is contained in:
@ -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
|
||||
Reference in New Issue
Block a user