Release Charts #11
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: Release Charts | |
on: | |
# This workflow is meant to be triggered manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
release: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
charts_dir: tools/pytorchjob-generator | |
packages_with_index: true | |
skip_existing: true | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
publish: | |
needs: release | |
uses: project-codeflare/mlbatch/.github/workflows/gh-pages-static.yml@main |