Commit e7b6e668 authored by David McKay's avatar David McKay

feat: add chart-releaser

parent 10ef2af4
name: Pull Request Checks
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.0.0-alpha.3
with:
command: lint
- name: Create kind cluster
uses: helm/kind-action@v1.0.0-alpha.3
with:
installLocalPathProvisioner: true
# Only build a kind cluster if there are chart changes to test.
if: steps.lint.outputs.changed == 'true'
- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.0.0-alpha.3
with:
command: install
name: Release Master
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- 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 -sSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get
chmod 700 get_helm.sh
./get_helm.sh
helm init --client-only
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0-alpha.2
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment