Skip to content

Commit

Permalink
chore: push new version to helm
Browse files Browse the repository at this point in the history
  • Loading branch information
eneskaya committed Mar 20, 2023
1 parent a1db3b6 commit 7022197
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,27 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY }}
PURPLIN_BOT: ${{ secrets.PURPLIN_BOT }}

- uses: actions/checkout@v3
with:
repository: tailwarden/helm
ref: master
path: helm
token: ${{ secrets.PURPLIN_BOT }}
persist-credentials: true

- name: "Create new values.yaml"
run: |
export VERSION=$(echo $TAG | cut -c2-)
cat templates/values.template.yaml | envsubst > helm/values.yaml
env:
TAG: ${{ github.ref_name }}

- name: "Push changes to tailwarden/helm"
run: |
cd ./helm
git add .
git config user.name "purplin"
git config user.email "[email protected]"
git commit -m "Bump version to 3.0.7"
git push
7 changes: 7 additions & 0 deletions templates/values.template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
image:
repository: tailwarden/komiser
tag: ${VERSION}
pullPolicy: IfNotPresent

aws:
region: "eu-central-1"

0 comments on commit 7022197

Please sign in to comment.