From 244752c343f1023d0c18d9cc0afb64c7da157331 Mon Sep 17 00:00:00 2001 From: Noste <83548733+Noooste@users.noreply.github.com> Date: Sat, 20 Dec 2025 10:18:10 +0100 Subject: [PATCH] feat: add release workflow for Helm charts --- .../workflows/{docker-build.yml => build.yml} | 0 .github/workflows/release.yml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+) rename .github/workflows/{docker-build.yml => build.yml} (100%) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/docker-build.yml b/.github/workflows/build.yml similarity index 100% rename from .github/workflows/docker-build.yml rename to .github/workflows/build.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..371359f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,37 @@ +name: Release Charts + +on: + push: + branches: + - main + paths: + - 'helm/garage-ui/**' + - '!helm/garage-ui/README.md' + +jobs: + release: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v6 + 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: Set up Helm + uses: azure/setup-helm@v4.3.1 + with: + version: v3.19.3 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.7.0 + with: + charts_dir: helm + env: + CR_TOKEN: "${{ secrets.HELM_RELEASE_TOKEN }}" \ No newline at end of file