update helm chart version #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Helm Release Workflow | |
on: push | |
# release: | |
# types: [published] | |
jobs: | |
helm-release: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "elimoshkovich" | |
git config user.email "[email protected]" | |
# - name: Update Chart version | |
# run: | | |
# sed -i "s/version: .*/version: ${{ github.event.release.tag_name }}/" ./charts/pdp/Chart.yaml | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.PAGES }}" | |
with: | |
skip_existing: true |