Skip to content

Bump the gomod group across 1 directory with 10 updates (#283) #100

Bump the gomod group across 1 directory with 10 updates (#283)

Bump the gomod group across 1 directory with 10 updates (#283) #100

Workflow file for this run

name: Helm
on:
push:
paths:
- 'charts/vault-secrets-operator/**'
jobs:
build-release:
name: Helm Chart
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint
run: |
helm lint charts/vault-secrets-operator
- name: Template
run: |
helm template vault-secrets-operator -n vault-secrets-operator charts/vault-secrets-operator
- name: Configure git
run: git config --global user.email "[email protected]" && git config --global user.name "ricoberger"
- name: Package Helm Chart
if: ${{ github.ref == 'refs/heads/main' }}
run: helm package charts/vault-secrets-operator
- name: Clone Helm Repository
if: ${{ github.ref == 'refs/heads/main' }}
run: git clone https://github.com/ricoberger/helm-charts.git
- name: Update Helm Repository
if: ${{ github.ref == 'refs/heads/main' }}
run: mv vault-secrets-operator* helm-charts/ && helm repo index helm-charts/ --url https://ricoberger.github.io/helm-charts/
- name: Commit Changes
if: ${{ github.ref == 'refs/heads/main' }}
run: cd helm-charts/ && git add . && git commit -m "Add new release for Vault Secrets Operator"
- name: Push Changes
if: ${{ github.ref == 'refs/heads/main' }}
run: cd helm-charts/ && git push https://ricoberger:${{ secrets.TOKEN }}@github.com/ricoberger/helm-charts.git