Build and Publish NL-portal Backend Helm Chart #5
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: Build and Publish NL-portal Backend Helm Chart | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - 'charts/nl-portal-configpanel-backend/**' | |
| branches: | |
| - main | |
| concurrency: | |
| # Chart release cannot be done in parallel with other chart releases, so force sequential release | |
| group: release-chart | |
| cancel-in-progress: false | |
| jobs: | |
| build_nl-portal_backend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Configure Git | |
| run: | | |
| git config user.name "$GITHUB_ACTOR" | |
| git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
| - name: install helm | |
| uses: Azure/setup-helm@v3 | |
| with: | |
| version: 3.9.0 | |
| - name: Add dependency chart repos | |
| run: | | |
| helm repo add bitnami https://charts.bitnami.com/bitnami | |
| - name: Run chart-releaser | |
| uses: helm/chart-releaser-action@v1.7.0 | |
| with: | |
| charts_dir: charts/nl-portal-configpanel-backend | |
| env: | |
| CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |