From 9bd4849df71b5eeb40713a78d409e56484679a71 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Mon, 11 Nov 2024 15:51:48 +0100 Subject: [PATCH] changed token variable --- .gitea/workflows/buildPush.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/buildPush.yaml b/.gitea/workflows/buildPush.yaml index 077f8a5..3850eb0 100644 --- a/.gitea/workflows/buildPush.yaml +++ b/.gitea/workflows/buildPush.yaml @@ -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