Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 827c7fa

Browse files
author
Michael Sauter
committed
Release chart on main workflow as well
1 parent f502d16 commit 827c7fa

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/main.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,19 @@ jobs:
5353
docker push ghcr.io/${{ env.IMAGE_BASE }}/$image:latest
5454
echo "::endgroup::"
5555
done
56+
-
57+
name: Configure Git
58+
if: ${{ github.event_name != 'pull_request' }}
59+
run: |
60+
git config user.name "$GITHUB_ACTOR"
61+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
62+
63+
-
64+
name: Run chart-releaser
65+
if: ${{ github.event_name != 'pull_request' }}
66+
uses: helm/chart-releaser-action@v1.5.0
67+
with:
68+
charts_dir: deploy
69+
mark_as_latest: false
70+
env:
71+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,6 @@ jobs:
7878
uses: helm/chart-releaser-action@v1.5.0
7979
with:
8080
charts_dir: deploy
81+
mark_as_latest: false
8182
env:
8283
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)