GitHub Actions for working with Helm
./helm/your_chart
at the root of your repository- Chart name is equal to repository name
Let's look at an example, assume our repo is called amazing-app
:
λ amazing-app ❯ tree
.
├── README.md
├── helm/amazing-app
└── .github
└── workflows
└── ci.yml
# ci.yml
name: CI
on:
pull_request:
jobs:
helm-lint:
uses: entur/gha-helm/.github/workflows/lint.yml@v1
# cd.yml
name: CD
on:
push:
jobs:
helm-deploy:
uses: entur/gha-helm/.github/workflows/deploy.yml@v1
with:
environment: prd