Merge pull request #146 from AKamyshnikova/bump-bootstrap-0.1.15 #78
Workflow file for this run
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: Publish Helm charts | |
on: | |
push: | |
tags: ["*"] | |
jobs: | |
publish-helm-charts: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
strategy: | |
matrix: | |
chart: | |
- casskop | |
- multi-casskop | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Overwrite versions in chart before publishing it | |
run: | | |
sed -i -e "s/1.0.0/${{ github.ref_name }}/" charts/${{ matrix.chart }}/*.yaml | |
- name: Publish ${{ matrix.chart }} chart | |
uses: appany/[email protected] | |
with: | |
name: ${{ matrix.chart }}-helm | |
path: charts/${{ matrix.chart }} | |
repository: ${{ github.repository_owner }} | |
tag: ${{ github.ref_name }} | |
registry: ghcr.io | |
registry_username: ${{ github.repository_owner }} | |
registry_password: ${{ secrets.GITHUB_TOKEN }} |