Skip to content

runtime-sensor-v1.74.1 #112

runtime-sensor-v1.74.1

runtime-sensor-v1.74.1 #112

Workflow file for this run

name: Release Charts
on:
workflow_dispatch:
release:
types: [published]
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Latest Tag
id: get-tag
uses: WyriHaximus/[email protected]
with:
fallback: v1.69.0
- name: Get version
id: get-version
run: |
tag=${{ steps.get-tag.outputs.tag }}
echo "version=${tag##*-}" >> $GITHUB_OUTPUT
- name: Set Helm chart version from tag
uses: mikefarah/yq@master
with:
cmd: |
yq e -i '.version = "${{ steps.get-version.outputs.version }}"' ./helm/runtime-sensor/Chart.yaml
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
- name: Run chart-releaser
uses: helm/[email protected]
with:
skip_existing: true
charts_dir: helm
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"