mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
* Migrate helm chart from archived helm charts repo. Add github action which generates helm chart releases. Signed-off-by: Adam Hamsik <adam.hamsik@lablabs.io> * Add helm chart repository documentation Signed-off-by: Adam Hamsik <adam.hamsik@lablabs.io>
38 lines
978 B
YAML
38 lines
978 B
YAML
name: Release Charts
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
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
|
|
run: |
|
|
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
|
|
chmod 700 get_helm.sh
|
|
./get_helm.sh
|
|
|
|
- name: Add dependency chart repos
|
|
run: |
|
|
helm repo add stable https://charts.helm.sh/stable
|
|
helm repo add incubator https://charts.helm.sh/incubator
|
|
|
|
- name: Run chart-releaser
|
|
uses: helm/chart-releaser-action@v1.0.0
|
|
# with:
|
|
# charts_dir: kubernetes/charts/coredns
|
|
env:
|
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|