Commit + push helm chart changes on non-main
This commit is contained in:
parent
32c7fb00b0
commit
9707918cc4
2 changed files with 19 additions and 2 deletions
|
@ -12,4 +12,21 @@ jobs:
|
|||
- run: apk add --no-cache nodejs git helm kubectl bash
|
||||
- uses: actions/checkout@v4
|
||||
- run: ./helm/render-all.sh
|
||||
- run: git diff --exit-code
|
||||
- run: git diff
|
||||
- name: commit changes
|
||||
if: github.ref != 'refs/heads/main'
|
||||
run: |
|
||||
#!/bin/bash
|
||||
set -exuo pipefail
|
||||
|
||||
if ! git diff-files; then
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
git config user.email infra-robot@janky.solutions
|
||||
git config user.name "Janky Solutions Infrastructure Robot"
|
||||
|
||||
git commit -am "update helm chart"
|
||||
git push
|
||||
|
||||
|
||||
|
|
|
@ -7,5 +7,5 @@ helmCharts:
|
|||
enabled: false # default, bitwarden-sdk-server doesn't work with vaultwarden (https://github.com/external-secrets/bitwarden-sdk-server/issues/18)
|
||||
namespace: external-secrets
|
||||
releaseName: external-secrets
|
||||
version: 0.12.1
|
||||
version: 0.10.5
|
||||
repo: https://charts.external-secrets.io
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue