Merge pull request 'changed token variable' (#10) from fix_pipeline into main
All checks were successful
Lint and Test Charts / lint-test (push) Successful in 7s

Reviewed-on: #10
This commit is contained in:
Jonas Forsberg 2024-11-11 14:52:15 +00:00
commit b74e67f3ca

View File

@ -32,7 +32,7 @@ jobs:
- name: build helm package
shell: bash
env:
PACKAGE_TOKEN: ${{ secrets.REPO_HOST }}
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
CHART_NAME: ${{ steps.chart_name.outputs.result }}
CHART_VERSION: ${{ steps.chart_version.outputs.result }}
run: |
@ -40,4 +40,4 @@ jobs:
mkdir /tmp/build
cd /tmp/build
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