Skip to content

Tabby Operator v0.0.43 (#22) #39

Tabby Operator v0.0.43 (#22)

Tabby Operator v0.0.43 (#22) #39

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
HELM_DOCS_VERSION: "1.11.0"
jobs:
release:
name: Release
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- name: Generate Docs
run: |
curl --silent --show-error --fail --location \
--output /tmp/helm-docs.tar.gz https://github.com/norwoodj/helm-docs/releases/download/v${{ env.HELM_DOCS_VERSION }}/helm-docs_${{ env.HELM_DOCS_VERSION }}_Linux_x86_64.tar.gz
tar -xf /tmp/helm-docs.tar.gz -C /tmp helm-docs
/tmp/helm-docs
- name: Push Changes
run: |
git add .
if [[ `git status --porcelain` ]]; then
git commit -am "Documentations generated."
git push
fi
- name: Install Helm
uses: azure/setup-helm@v4.2.0
- name: Release Chart
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}