Files
library-charts/.github/workflows/common.release.yaml
kjeld Schouten-Lebbing be0470844f update
2022-03-26 11:12:13 +01:00

41 lines
820 B
YAML

name: "Charts: Release"
concurrency: helm-release
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'charts/**'
jobs:
release-charts:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
ref: main
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.4
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.3.0
with:
charts_repo_url: https://library-charts.truecharts.org
env:
CR_TOKEN: "${{ secrets.BOT_TOKEN }}"
CR_SKIP_EXISTING: "true"