Skip to content

Commit

Permalink
fix: workflow chart releaser
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Fornaro <[email protected]>
  • Loading branch information
xunholy committed Jul 6, 2024
1 parent d42ab6f commit f0396cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/charts-release-ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4

- name: Run chart-releaser
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
uses: helm/[email protected]
with:
charts_dir: ${{ env.CHARTS_SRC_DIR }}
charts_dir: charts/${{ env.CHARTS_SRC_DIR }}
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Publish Helm Chart to GHCR
run: |
helm package charts/kube-guardian
helm push kube-guardian-*.tgz oci://${{ env.TARGET_REGISTRY }}/${{ github.repository_owner }}/charts
helm package charts/${{ env.CHARTS_SRC_DIR }}
helm push ${{ env.CHARTS_SRC_DIR }}-*.tgz oci://${{ env.TARGET_REGISTRY }}/${{ github.repository_owner }}/charts
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit f0396cb

Please sign in to comment.