Compare commits

...

2 Commits

Author SHA1 Message Date
b74e67f3ca 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
2024-11-11 14:52:15 +00:00
Jonas Forsberg
9bd4849df7 changed token variable 2024-11-11 15:51:48 +01: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