Skip to content

build and release chart #102

build and release chart

build and release chart #102

Workflow file for this run

name: build and release chart
on:
workflow_run:
workflows: ["build and push container"]
types:
- completed
env:
UPDATER_SECRET: ${{ secrets.UPDATER_SECRET }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- 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
id: chart
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Deploy latest version
run: |
VERSION=$(grep version charts/iguideme/Chart.yaml | cut -d " " -f2)
curl "https://k8s.datanose.nl/gitops-updater?name=iguideme&secret=${UPDATER_SECRET}&version=${VERSION}"