Skip to content

Commit

Permalink
fix(github): remove helm release action (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhra303 authored Jun 12, 2024
1 parent 27c4a0a commit 9be1c01
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,30 +73,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install helm
uses: azure/setup-helm@v4

- name: Update helm chart
run: |
git checkout main
sed -Ei \
-e 's/^(version\:) .*/\1 '${{ env.VERSION }}'/g' \
-e 's/^(appVersion\:) .*/\1 "'${{ env.VERSION }}'"/g' \
charts/dragonfly-operator/Chart.yaml
git commit \
-m 'chore(helm-chart): update to ${{ env.VERSION }}' \
charts/dragonfly-operator/Chart.yaml
- name: Push Helm chart as OCI to Github
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | \
helm registry login -u ${{ github.actor }} --password-stdin ghcr.io
helm package charts/dragonfly-operator
helm push dragonfly-operator-${{ env.VERSION }}.tgz oci://ghcr.io/${{ github.repository }}/helm
- name: Build and Publish image into GHCR
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 9be1c01

Please sign in to comment.