Skip to content

Commit

Permalink
Merge 9fb44b2 into 5811b3f
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh authored Oct 4, 2023
2 parents 5811b3f + 9fb44b2 commit c8baf35
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/release-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write
contents: write

steps:
- name: Checkout
Expand All @@ -35,16 +34,9 @@ jobs:
run: |
sed -i 's/^version: \(.*\)$/version: \1-${{ github.sha }}/g' charts/housewatch/Chart.yaml
- name: Helm login
run: |
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io -u $ --password-stdin
- name: Helm package
run: |
helm dependency update charts/housewatch/
helm package charts/housewatch
- name: Helm push
run: |
helm push housewatch-*.tgz oci://ghcr.io/posthog/housewatch/charts
- name: Run chart-releaser
uses: helm/chart-releaser-action@ed43eb303604cbc0eeec8390544f7748dc6c790d
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
skip_existing: true

0 comments on commit c8baf35

Please sign in to comment.