Skip to content

chore: re-enable helm check over all commit #15

chore: re-enable helm check over all commit

chore: re-enable helm check over all commit #15

Workflow file for this run

---
name: helm
on:
- push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up helm
uses: azure/setup-helm@v3
with:
version: v3.13.0
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: set up chart-testing
uses: helm/[email protected]
- name: run chart-testing (lint)
run: ct lint --all
- name: create kind cluster
uses: helm/[email protected]
- name: run chart-testing (install)
run: ct install --all
release:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up helm
uses: azure/setup-helm@v3
with:
version: v3.13.0
- name: login to github container registry using helm
run: |
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io/snapp-incubator/soteria --username ${{ github.repository_owner }} --password-stdin
- name: save helm chart to local registry
run: |
helm chart save / ghcr.io/snapp-incubator/soteria-chart:${{ github.sha }}
- name: publish chart to acr
run: |
helm chart push ghcr.io/snapp-incubator/soteria-chart:${{ github.sha }}