This commit is contained in:
@@ -28,19 +28,19 @@ jobs:
|
|||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
run: |
|
run: |
|
||||||
cd $WORKFLOW_DIR
|
cd $WORKFLOW_DIR
|
||||||
helm dependency build
|
helm dependency build --debug
|
||||||
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
||||||
|
|
||||||
- name: Publish Helm Chart to Harbor
|
- name: Publish Helm Chart to Harbor
|
||||||
run: |
|
run: |
|
||||||
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }}
|
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }} --debug
|
||||||
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts
|
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts --debug
|
||||||
|
|
||||||
- name: Publish Helm Chart to Gitea
|
- name: Publish Helm Chart to Gitea
|
||||||
run: |
|
run: |
|
||||||
helm plugin install https://github.com/chartmuseum/helm-push
|
helm plugin install https://github.com/chartmuseum/helm-push --debug
|
||||||
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm
|
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm --debug
|
||||||
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts
|
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts --debug
|
||||||
|
|
||||||
- name: Extract Chart Metadata
|
- name: Extract Chart Metadata
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -28,19 +28,19 @@ jobs:
|
|||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
run: |
|
run: |
|
||||||
cd $WORKFLOW_DIR
|
cd $WORKFLOW_DIR
|
||||||
helm dependency build
|
helm dependency build --debug
|
||||||
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
||||||
|
|
||||||
- name: Publish Helm Chart to Harbor
|
- name: Publish Helm Chart to Harbor
|
||||||
run: |
|
run: |
|
||||||
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }}
|
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }} --debug
|
||||||
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts
|
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts --debug
|
||||||
|
|
||||||
- name: Publish Helm Chart to Gitea
|
- name: Publish Helm Chart to Gitea
|
||||||
run: |
|
run: |
|
||||||
helm plugin install https://github.com/chartmuseum/helm-push
|
helm plugin install https://github.com/chartmuseum/helm-push --debug
|
||||||
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm
|
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm --debug
|
||||||
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts
|
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts --debug
|
||||||
|
|
||||||
- name: Extract Chart Metadata
|
- name: Extract Chart Metadata
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -28,19 +28,19 @@ jobs:
|
|||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
run: |
|
run: |
|
||||||
cd $WORKFLOW_DIR
|
cd $WORKFLOW_DIR
|
||||||
helm dependency build
|
helm dependency build --debug
|
||||||
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
||||||
|
|
||||||
- name: Publish Helm Chart to Harbor
|
- name: Publish Helm Chart to Harbor
|
||||||
run: |
|
run: |
|
||||||
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }}
|
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }} --debug
|
||||||
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts
|
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts --debug
|
||||||
|
|
||||||
- name: Publish Helm Chart to Gitea
|
- name: Publish Helm Chart to Gitea
|
||||||
run: |
|
run: |
|
||||||
helm plugin install https://github.com/chartmuseum/helm-push
|
helm plugin install https://github.com/chartmuseum/helm-push --debug
|
||||||
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm
|
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm --debug
|
||||||
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts
|
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts --debug
|
||||||
|
|
||||||
- name: Extract Chart Metadata
|
- name: Extract Chart Metadata
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -28,19 +28,19 @@ jobs:
|
|||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
run: |
|
run: |
|
||||||
cd $WORKFLOW_DIR
|
cd $WORKFLOW_DIR
|
||||||
helm dependency build
|
helm dependency build --debug
|
||||||
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
||||||
|
|
||||||
- name: Publish Helm Chart to Harbor
|
- name: Publish Helm Chart to Harbor
|
||||||
run: |
|
run: |
|
||||||
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }}
|
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }} --debug
|
||||||
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts
|
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts --debug
|
||||||
|
|
||||||
- name: Publish Helm Chart to Gitea
|
- name: Publish Helm Chart to Gitea
|
||||||
run: |
|
run: |
|
||||||
helm plugin install https://github.com/chartmuseum/helm-push
|
helm plugin install https://github.com/chartmuseum/helm-push --debug
|
||||||
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm
|
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm --debug
|
||||||
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts
|
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts --debug
|
||||||
|
|
||||||
- name: Extract Chart Metadata
|
- name: Extract Chart Metadata
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user