Skip to content

Commit

Permalink
Release chart on main workflow as well
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Oct 9, 2023
1 parent f502d16 commit 827c7fa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,19 @@ jobs:
docker push ghcr.io/${{ env.IMAGE_BASE }}/$image:latest
echo "::endgroup::"
done
-
name: Configure Git
if: ${{ github.event_name != 'pull_request' }}
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
-
name: Run chart-releaser
if: ${{ github.event_name != 'pull_request' }}
uses: helm/chart-releaser-action@v1.5.0
with:
charts_dir: deploy
mark_as_latest: false
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ jobs:
uses: helm/chart-releaser-action@v1.5.0
with:
charts_dir: deploy
mark_as_latest: false
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 827c7fa

Please sign in to comment.