Skip to content

Commit

Permalink
test-10
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Sep 4, 2024
1 parent 45968b9 commit a8bd80b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/chart-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ jobs:
EXPORT_DIR: ${{env.HELM_SUB_FOLDER}}
HELM_REPO: helm-preview
run: |
helm registry login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_TOKEN }} ${{ vars.HARBOR_REGISTRY }}
helm push ${{ env.EXPORT_DIR }}/${{ env.CHART_PREFIX }}-*.tgz oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
ls -al ${{ env.EXPORT_DIR }}
helm repo index ${{ env.EXPORT_DIR }} --url oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
cat ${{ env.EXPORT_DIR }}/index.yaml
helm registry login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_TOKEN }} ${{ vars.HARBOR_REGISTRY }}
helm push ${{ env.EXPORT_DIR }}/${{ env.CHART_PREFIX }}-*.tgz oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
touch ${{env.EXPORT_DIR}}/index.html
HTML_CONTENT="
<p>Helm Preview Build for Branch:${{github.ref_name}}</p>
Expand Down

0 comments on commit a8bd80b

Please sign in to comment.