mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-03 07:05:50 +02:00
33 lines
No EOL
792 B
YAML
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 }}" |