CHANGELOG updated #58
Workflow file for this run
This file contains hidden or 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: release-helm-chart | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| release-helm-chart: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: imgproxy-helm/ | |
| - name: Setup Helm | |
| uses: azure/setup-helm@v3 | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: helm-repository/ | |
| ref: gh-pages | |
| - run: cp imgproxy-helm/Readme.md imgproxy-helm/imgproxy/README.md | |
| - name: Pack the current chart version | |
| run: helm package -d helm-repository/ imgproxy-helm/imgproxy/ | |
| - name: Reindex Helm repository | |
| run: helm repo index --url https://helm.imgproxy.net/ --merge helm-repository/index.yaml helm-repository/ | |
| - name: Commit & Push gh-pages with a new chart | |
| run: | | |
| cd helm-repository/ | |
| git config user.name github-actions | |
| git config user.email github-actions@github.com | |
| git add . | |
| git commit -m "${GITHUB_REF##*/} release" | |
| git push origin gh-pages |