Merge pull request #3 from comet-ml/CRThaze/bump-version #3
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 Chart | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - Chart.yaml | |
| - templates/** | |
| - values.yaml | |
| - values.schema.json | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| ref: main | |
| - name: Create Charts Dir | |
| run: | | |
| mkdir charts | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| ref: main | |
| path: charts/comet-common | |
| - name: Configure Git | |
| run: | | |
| git config --global user.name 'Github Actions (${{ github.actor }})' | |
| git config --global user.email 'github-actions@comet.com' | |
| - name: Run chart-releaser | |
| uses: bitdeps/helm-oci-charts-releaser@v0.1.3 | |
| with: | |
| oci_registry: ghcr.io/comet-ml | |
| tag_name_pattern: '' | |
| oci_username: github-actions | |
| oci_password: ${{ secrets.GITHUB_TOKEN }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |