Compare commits
2 Commits
174835f9fc
...
e596c93931
Author | SHA1 | Date | |
---|---|---|---|
|
e596c93931 | ||
|
d3c3107491 |
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user