Compare commits

..

No commits in common. "main" and "v1.1.0" have entirely different histories.
main ... v1.1.0

2 changed files with 18 additions and 0 deletions

View file

@ -38,3 +38,18 @@ jobs:
run: |
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
echo "version is: ${{ env.VERSION }}"
- name: Update Helm chart version
shell: bash
run: |
v="$(echo '${{ env.VERSION }}' | cut -d 'v' -f2)"
sed -i "s/0\.0\.0/$v/g" helm/ts-activity/Chart.yaml
- name: Build and push Helm chart
uses: goodsmileduck/helm-push-action@ec9f29cbf16a4773438b3ea98790aa5b5ca3e749
env:
SOURCE_DIR: './helm'
CHART_FOLDER: 'ts-activity'
CHARTMUSEUM_URL: 'https://charts.momoperes.ca'
CHARTMUSEUM_USER: '${{ secrets.CHARTMUSEUM_USER }}'
CHARTMUSEUM_PASSWORD: ${{ secrets.CHARTMUSEUM_PASSWORD }}

View file

@ -43,6 +43,9 @@ docker run --rm --name ts-activity \
There is also a Helm chart. You can create a `Secret` containing `username`, `password`, and `discord`, and then:
```sh
helm repo add momoperes https://charts.momoperes.ca
helm repo update
helm upgrade --install ts-activity momoperes/ts-activity \
--set config.serverQueryAddr=teamspeak:10011 \
--set config.discordUsername=Jeff \