Authenticate as repository owner
This commit is contained in:
@ -32,7 +32,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# Gitea automatically provides the token and actor variables
|
# Gitea automatically provides the token and actor variables
|
||||||
echo ${{ secrets.REPOSITORY_TOKEN }} | helm registry login ${{ env.REGISTRY_HOST }} \
|
echo ${{ secrets.REPOSITORY_TOKEN }} | helm registry login ${{ env.REGISTRY_HOST }} \
|
||||||
--username ${{ gitea.actor }} \
|
--username ${{ gitea.repository_owner }} \
|
||||||
--password-stdin
|
--password-stdin
|
||||||
|
|
||||||
- name: Push to Gitea Registry
|
- name: Push to Gitea Registry
|
||||||
@ -46,4 +46,4 @@ jobs:
|
|||||||
|
|
||||||
# Push to the OCI registry
|
# Push to the OCI registry
|
||||||
# URL Format: oci://<domain>/<user/org>/charts
|
# 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