Skip to content

Commit 5a7450c

Browse files
authored
Dev helm pub (#34)
* fix: helm * fix: permission helm release * fix: chart name * fix: helm flow
1 parent 46f1982 commit 5a7450c

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/release-helm.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
release:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
1214
steps:
1315
- name: Checkout
1416
uses: actions/checkout@v4
@@ -23,18 +25,4 @@ jobs:
2325
env:
2426
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2527
CR_SKIP_EXISTING: true
26-
27-
- name: Login to DockerHub
28-
uses: docker/login-action@v2
29-
with:
30-
username: ${{ secrets.DOCKER_USERNAME }}
31-
password: ${{ secrets.DOCKER_PASSWORD }}
32-
- name: Push charts to DockerHub
33-
run: |
34-
shopt -s nullglob
35-
for pkg in .cr-release-packages/*.tgz; do
36-
if [ -z "${pkg:-}" ]; then
37-
break
38-
fi
39-
helm push "${pkg}" "oci://docker.io/${GITHUB_REPOSITORY_OWNER}/helm-charts"
40-
done
28+
CR_RELEASE_NAME_TEMPLATE: "{{ .Name }}-helm-{{ .Version }}"

charts/tensor-fusion/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.0
18+
version: 1.0.1
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)