changed token variable

This commit is contained in:
Jonas Forsberg 2024-11-11 15:51:48 +01:00
parent 6885f46027
commit 9bd4849df7

View File

@ -32,7 +32,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 }}
run: | run: |
@ -40,4 +40,4 @@ jobs:
mkdir /tmp/build mkdir /tmp/build
cd /tmp/build cd /tmp/build
helm package $REPO_PATH helm package $REPO_PATH
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 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