Skip to content

runtime-sensor-v1.63.0 #82

runtime-sensor-v1.63.0

runtime-sensor-v1.63.0 #82

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.22.1
- 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
yq e -i '.sensor.image.tag = "${{ steps.get-version.outputs.version }}"' ./helm/runtime-sensor/values.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 }}"