improvement(helm): switch helm chart release to OCI push #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: Run Helm Chart Tests for Infisical PKI Issuer | |
| on: | |
| pull_request: | |
| paths: | |
| - "helm-charts/infisical-pki-issuer/**" | |
| - ".github/workflows/run-helm-chart-tests.yaml" | |
| jobs: | |
| test-helm: | |
| name: Test Helm Chart | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4.2.0 | |
| with: | |
| version: v3.17.0 | |
| - uses: actions/setup-python@v5.3.0 | |
| with: | |
| python-version: "3.x" | |
| check-latest: true | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.7.0 | |
| with: | |
| yamale_version: "6.0.0" | |
| - name: Run chart-testing (lint) | |
| run: ct lint --config ct.yaml --charts helm-charts/infisical-pki-issuer | |
| - name: Create kind cluster | |
| uses: helm/kind-action@v1.12.0 | |
| - name: Run chart-testing (install) | |
| run: ct install --config ct.yaml --charts helm-charts/infisical-pki-issuer |