Skip to content

entur/gha-helm

Repository files navigation


entur/gha-helm

Entur/Helm/CI

GitHub Actions for working with Helm

Golden Path

  • ./helm/your_chart at the root of your repository
  • Chart name is equal to repository name

Example

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