pipeline: tryfix helm push authentication
pipeline / build-and-push-images (push) Successful in 1m15s
pipeline / lint-and-publish-chart (push) Successful in 9s

This commit is contained in:
2026-05-14 11:56:07 +02:00
parent 3c63e8f69a
commit 7911d8f187
+3 -1
View File
@@ -68,4 +68,6 @@ jobs:
echo "Uploading chart to Gitea registry..."
echo "User: ${{ github.actor }}"
echo "URL: https://git.vhaudiquet.fr/api/packages/vhaudiquet/helm/api/charts"
curl --fail -v --user "${{ github.actor }}:${{ secrets.PACKAGES_TOKEN }}" -X POST --upload-file vhaudiquet-fr-*.tgz "https://git.vhaudiquet.fr/api/packages/vhaudiquet/helm/api/charts"
# Trim any trailing newline from the token
TOKEN=$(echo -n "${{ secrets.PACKAGES_TOKEN }}" | tr -d '\n')
curl --fail -v --user "${{ github.actor }}:${TOKEN}" -X POST --upload-file vhaudiquet-fr-*.tgz "https://git.vhaudiquet.fr/api/packages/vhaudiquet/helm/api/charts"