Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
feat: Use Helm build action (#334)
Browse files Browse the repository at this point in the history
Signed-off-by: TannerGabriel <gabrieltanner.code@gmail.com>
  • Loading branch information
TannerGabriel authored Jul 6, 2022
1 parent 9ed3eb2 commit 1ab1bca
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 56 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ jobs:

- name: Build Helm Charts
id: build_helm_charts
run: ./gh-actions-scripts/build_helm_chart.sh "${VERSION}" "${VERSION}.${DATETIME}" "${IMAGE}"
uses: keptn/gh-automation/.github/actions/build-helm-charts@v1.6.0
with:
VERSION: ${{ env.VERSION }}
APP_VERSION: ${{ env.VERSION }}.${{ env.DATETIME }}
CHART_NAME: ${{ env.IMAGE }}

- name: Upload Helm Chart as an artifact
id: upload_helm_chart
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ jobs:

- name: Build Helm Charts
id: build_helm_charts
run: ./gh-actions-scripts/build_helm_chart.sh "${VERSION}" "${VERSION}" "${IMAGE}"
uses: keptn/gh-automation/.github/actions/build-helm-charts@v1.6.0
with:
VERSION: ${{ env.VERSION }}
APP_VERSION: ${{ env.VERSION }}
CHART_NAME: ${{ env.IMAGE }}

- name: Upload Helm Chart as release asset
env:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ jobs:

- name: Build Helm Charts
id: build_helm_charts
run: ./gh-actions-scripts/build_helm_chart.sh "${VERSION}" "${VERSION}" "${IMAGE}"
uses: keptn/gh-automation/.github/actions/build-helm-charts@v1.6.0
with:
VERSION: ${{ env.VERSION }}
APP_VERSION: ${{ env.VERSION }}
CHART_NAME: ${{ env.IMAGE }}

- name: Upload Helm Chart as release asset
env:
Expand Down
53 changes: 0 additions & 53 deletions gh-actions-scripts/build_helm_chart.sh

This file was deleted.

0 comments on commit 1ab1bca

Please sign in to comment.