Skip to content

Commit

Permalink
test-11
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Sep 4, 2024
1 parent a8bd80b commit 652d257
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/chart-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,11 @@ 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
ls -al ${{ env.EXPORT_DIR }}
helm registry login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_TOKEN }} ${{ vars.HARBOR_REGISTRY }}
helm push ${{ env.EXPORT_DIR }}/${{ env.CHART_PREFIX }}-*.tgz --url oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
touch ${{env.EXPORT_DIR}}/index.html
HTML_CONTENT="
Expand Down

0 comments on commit 652d257

Please sign in to comment.