Skip to content

Commit

Permalink
Adds helm chart package to github workflow (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Aug 2, 2023
1 parent 48a9b56 commit 558ae9b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/upload_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ jobs:
- name: Pack RPM
run: cd rpm/ && mvn --batch-mode -Drevision=${{ github.event.release.tag_name }} -Dsha1= -Dchangelist= -f rpm.pom.xml package

- name: Create helm package
run: helm package --version=${{ github.event.release.tag_name }} --app-version=${{ github.event.release.tag_name }} k8s_01/

- name: Attach rpm to release
uses: softprops/action-gh-release@v1
with:
files: rpm/target/rpm/com.teragrep-k8s_01/RPMS/noarch/com.teragrep-k8s_01-*.noarch.rpm

files: |
rpm/target/rpm/com.teragrep-k8s_01/RPMS/noarch/com.teragrep-k8s_01-*.noarch.rpm
k8s_01-*.tgz
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.5.0

Expand Down
6 changes: 3 additions & 3 deletions k8s_01/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: kubelogreader
name: k8s_01
description: Kubernetes Log Reader
type: application
version: 1.0.0
appVersion: 1.0.0
version: 0.0.1-SNAPSHOT
appVersion: 0.0.1-SNAPSHOT

0 comments on commit 558ae9b

Please sign in to comment.