Skip to content

Commit

Permalink
Move helm-release/release job to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
itskingori committed Oct 16, 2024
1 parent 5866c16 commit 53b1ca3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/helm-release.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,27 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
repository: ${{ env.IMAGE }}

helm-release:
runs-on: ubuntu-latest
needs: github-release
permissions:
contents: write
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: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.14.4
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_RELEASE_NAME_TEMPLATE: "{{ .Name }}-chart-{{ .Version }}"

0 comments on commit 53b1ca3

Please sign in to comment.