Skip to content

Commit 05486a3

Browse files
committed
chore: harmonize upload-helm-chart over repos
1 parent 200228c commit 05486a3

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.github/workflows/upload-helm-chart.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1717
- uses: actions/checkout@v4
1818

19+
- name: Set up Go
20+
uses: actions/setup-go@v5
21+
with:
22+
go-version-file: "go.mod"
23+
1924
- name: Configure Git
2025
run: |
2126
git config user.name "$GITHUB_ACTOR"
@@ -38,7 +43,7 @@ jobs:
3843
VERSION=$(echo "${{github.event.release.tag_name }}" | sed 's/v//g')
3944
sed -i "s/^version:.*$/version: ${VERSION}/" ./helm/example-batch-job-controller/Chart.yaml
4045
sed -i "s/^appVersion:.*$/appVersion: v${VERSION}/" ./helm/example-batch-job-controller/Chart.yaml
41-
make docs
46+
make helm-docs
4247
helm package ./helm/example-batch-job-controller/ --version $VERSION --app-version v$VERSION -d dist
4348
helm push dist/batch-job-controller-${VERSION}.tgz oci://ghcr.io/bakito/helm-charts
4449

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ifeq (, $(shell which helm))
5050
$(shell curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash)
5151
endif
5252

53-
docs: tb.helm-docs update-docs
53+
helm-docs: tb.helm-docs update-docs
5454
@$(TB_HELM_DOCS)
5555

5656
update-docs: tb.semver

helm/example-batch-job-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: batch-job-controller
3-
version: 1.4.7
4-
appVersion: v1.4.7
3+
version: 1.4.8
4+
appVersion: v1.4.8
55
description: Install batch job controller
66
icon: https://emojigraph.org/media/google/man-construction-worker_1f477-200d-2642-fe0f.png
77
sources:

helm/example-batch-job-controller/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# batch-job-controller
22

3-
![Version: 1.4.7](https://img.shields.io/badge/Version-1.4.7-informational?style=flat-square) ![AppVersion: v1.4.7](https://img.shields.io/badge/AppVersion-v1.4.7-informational?style=flat-square)
3+
![Version: 1.4.8](https://img.shields.io/badge/Version-1.4.8-informational?style=flat-square) ![AppVersion: v1.4.8](https://img.shields.io/badge/AppVersion-v1.4.8-informational?style=flat-square)
44

55
Install batch job controller
66

@@ -9,14 +9,14 @@ Install batch job controller
99
### oci
1010

1111
```console
12-
helm install my-batch-job-controller oci://ghcr.io/bakito/helm-charts/batch-job-controller --version 1.4.7
12+
helm install my-batch-job-controller oci://ghcr.io/bakito/helm-charts/batch-job-controller --version 1.4.8
1313
```
1414

1515
### helm repository
1616

1717
```console
1818
helm repo add bakito https://charts.bakito.net
19-
helm install my-batch-job-controller bakito/batch-job-controller --version 1.4.7
19+
helm install my-batch-job-controller bakito/batch-job-controller --version 1.4.8
2020
```
2121

2222
## Values

0 commit comments

Comments
 (0)