Skip to content

Commit

Permalink
test-4
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Sep 4, 2024
1 parent 42a7655 commit 3adbe87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/chart-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ jobs:
helm package --sign --key "$CR_KEY" --keyring $CR_KEYRING --passphrase-file "$CR_PASSPHRASE_FILE" charts/$CHART_REPO -u -d ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/charts
cp charts/${{env.CHART_REPO}}/README.md ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/${{env.CHART_REPO}}.md
helm repo index ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}} --url oci://oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
helm registry login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_TOKEN }} ${{ vars.HARBOR_REGISTRY }}
helm push ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/charts/${{ env.CHART_PREFIX }}-${{env.CHART_REPO}}-*.tgz oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
- id: build-plane-enterprise
Expand All @@ -118,7 +120,9 @@ jobs:
helm package --sign --key "$CR_KEY" --keyring $CR_KEYRING --passphrase-file "$CR_PASSPHRASE_FILE" charts/$CHART_REPO -u -d ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/charts
cp charts/${{env.CHART_REPO}}/README.md ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/${{env.CHART_REPO}}.md
helm repo index ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}} --url oci://oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
helm registry login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_TOKEN }} ${{ vars.HARBOR_REGISTRY }}
helm push ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/charts/${{ env.CHART_PREFIX }}-${{env.CHART_REPO}}-*.tgz oci://${{ vars.HARBOR_REGISTRY }}/${{ env.HELM_REPO }}
- name: Publish
Expand Down

0 comments on commit 3adbe87

Please sign in to comment.