Compare commits

..

2 Commits

Author SHA1 Message Date
Jonas Forsberg
e596c93931 wrong step id used
All checks were successful
Lint and Test Charts / lint-test (push) Successful in 7s
Package and publish helm chart / package-helm (push) Successful in 14s
2024-10-18 15:32:29 +02:00
Jonas Forsberg
d3c3107491 removed echo statement
Some checks failed
Package and publish helm chart / package-helm (push) Failing after 14s
2024-10-18 15:29:50 +02:00

View File

@ -35,12 +35,12 @@ jobs:
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_HOST: ${{ secrets.REPO_HOST }}
CHART_NAME: ${{ steps.chart_username.outputs.result }}
CHART_NAME: ${{ steps.chart_name.outputs.result }}
CHART_VERSION: ${{ steps.chart_version.outputs.result }}
run: |
REPO_PATH=$(git rev-parse --show-toplevel)
mkdir /tmp/build
cd /tmp/build
helm package $REPO_PATH
echo "helm registry login --username $REPO_USERNAME --password $REPO_PASSWORD $REPO_HOST"
echo "helm push ${CHART_NAME}-${CHART_VERSION}.tgz oci://$REPO_HOST/helm"
helm registry login --username $REPO_USERNAME --password $REPO_PASSWORD $REPO_HOST
helm push ${CHART_NAME}-${CHART_VERSION}.tgz oci://$REPO_HOST/helm