Skip to content

Commit 8769c40

Browse files
added create director in release chart
1 parent 1b99935 commit 8769c40

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/helm-release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,21 @@ jobs:
2929
version: v3.14.0
3030
- name: Lint chart
3131
run: helm lint ./chart
32+
33+
- name: Create charts tmp directory
34+
run: |
35+
mkdir charts-tmp
36+
cp -a chart charts-tmp/deploydefender
37+
3238
- name: Package chart
3339
run: |
3440
mkdir -p .dist
35-
helm package ./chart --destination .dist
41+
helm package charts-tmp/deploydefender --destination .dist
3642
3743
- name: Login to GHCR (OCI)
3844
run: |
3945
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
46+
4047
- name: Push to GHCR (OCI)
4148
run: |
4249
helm push .dist/deploydefender-*.tgz oci://ghcr.io/${{ github.repository_owner }}/charts
@@ -46,7 +53,7 @@ jobs:
4653
with:
4754
token: "${{ secrets.GITHUB_TOKEN }}"
4855
linting: off
49-
charts_dir: chart
56+
charts_dir: charts-tmp
5057

5158
# - name: Publish to ArtifactHub
5259
# run: |

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.2
18+
version: 0.1.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

0 commit comments

Comments
 (0)