Merge pull request #539 from zalando-incubator/chart-release

added chart release workflow
This commit is contained in:
Mikkel Oscar Lyderik Larsen
2023-03-16 13:39:11 +01:00
committed by GitHub
2 changed files with 34 additions and 1 deletions

View File

@ -1,5 +1,11 @@
name: ci
on: [push, pull_request]
on:
push:
branches-ignore:
- 'gh-pages'
pull_request:
branches-ignore:
- 'gh-pages'
jobs:
tests:
runs-on: ubuntu-latest

27
.github/workflows/release-chart.yml vendored Normal file
View File

@ -0,0 +1,27 @@
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: Run chart-releaser
uses: helm/chart-releaser-action@v1.4.0
with:
charts_dir: docs
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"