mirror of
https://github.com/aramperes/ts-activity.git
synced 2025-09-08 22:08:31 -04:00
Add Helm chart
This commit is contained in:
parent
33997634c6
commit
eafdbff4d5
7 changed files with 238 additions and 0 deletions
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
@ -32,3 +32,22 @@ jobs:
|
|||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Get the release version from the tag
|
||||
if: env.VERSION == ''
|
||||
run: |
|
||||
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
echo "version is: ${{ env.VERSION }}"
|
||||
|
||||
- name: Update Helm chart version
|
||||
shell: bash
|
||||
run: sed -i 's/0\.0\.0/${{ env.VERSION }}/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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue