changed token variable #10

Merged
jonas merged 1 commits from fix_pipeline into main 2024-11-11 14:52:15 +00:00

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