fixed token

This commit is contained in:
Jonas Forsberg 2024-11-11 15:44:54 +01:00
parent 851c54d3cc
commit 9b04821db0

View File

@ -30,7 +30,7 @@ jobs:
- name: build helm package - name: build helm package
shell: bash shell: bash
env: env:
PACKAGE_TOKEN: ${{ secrets.REPO_HOST }} PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
CHART_NAME: ${{ steps.chart_name.outputs.result }} CHART_NAME: ${{ steps.chart_name.outputs.result }}
CHART_VERSION: ${{ steps.chart_version.outputs.result }} CHART_VERSION: ${{ steps.chart_version.outputs.result }}
ALL_CHANGED_CHARTS: ${{ steps.changed-files.outputs.all_changed_files }} ALL_CHANGED_CHARTS: ${{ steps.changed-files.outputs.all_changed_files }}
@ -45,5 +45,5 @@ jobs:
echo "Packaging ${CHART_NAME}-${CHART_VERSION}" echo "Packaging ${CHART_NAME}-${CHART_VERSION}"
helm package . helm package .
echo "$(ls -l)" echo "$(ls -l)"
curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts echo "curl -H \"Authorization: token $PACKAGE_TOKEN\" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts"
done done