cert-manager-webhook-example/.github/workflows/release-chart.yaml
2023-06-01 15:27:50 -05:00

33 lines
No EOL
792 B
YAML

name: Release Charts
on:
push:
branches:
- master
# paths:
# - "charts/dnsimple/Chart.yaml"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get chart version
id: chart_version
uses: mikefarah/yq@d2f1ae9db722ac6b0702dd7f8a08dd22722d8c2d # v4.33.3
with:
cmd: yq eval '.version' './charts/dnsimple/Chart.yaml'
- 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.5.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"