Skip to content

Commit 7dbd1b4

Browse files
authored
ci: updates versions (#308)
* updates versions Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com> * uses latest for dev Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com> * removes github repo Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com> * uses the full image instead of building the image url Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com> --------- Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
1 parent 0d0d279 commit 7dbd1b4

5 files changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ jobs:
4444
path: version
4545
- file: helm/Chart.yaml
4646
path: appVersion
47+
prefix: v
4748
- file: helm/values.yaml
48-
path: image.tag
49-
prefix: "v"
49+
path: image.cloudUiImage
50+
prefix: v
5051
5152
- name: Summary
5253
run: |

helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: toolhive-cloud-ui
33
description: A Helm chart for ToolHive Cloud UI - Next.js application
44
type: application
55
version: 0.1.0
6-
appVersion: "0.1.0"
6+
appVersion: "v0.1.0"
77
keywords:
88
- nextjs
99
- react

helm/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
- name: {{ .Chart.Name }}
3535
securityContext:
3636
{{- toYaml .Values.securityContext | nindent 12 }}
37-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
37+
image: "{{ .Values.image.cloudUiImage }}"
3838
imagePullPolicy: {{ .Values.image.pullPolicy }}
3939
ports:
4040
- name: http

helm/values-dev.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ replicaCount: 1
66

77
image:
88
# -- Image repository
9-
repository: toolhive-cloud-ui
9+
cloudUiImage: toolhive-cloud-ui:latest
1010
# -- Pull from registry if available, use local image if not
1111
pullPolicy: IfNotPresent
12-
# -- Override with "latest" for local development
13-
tag: "latest"
1412

1513
service:
1614
type: ClusterIP

helm/values.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ replicaCount: 1
33

44
image:
55
# -- Image repository (ghcr.io/stacklok/toolhive-cloud-ui)
6-
repository: ghcr.io/stacklok/toolhive-cloud-ui
6+
cloudUiImage: ghcr.io/stacklok/toolhive-cloud-ui:v0.1.0
77
# -- Pull from registry if available, use local image if not
88
pullPolicy: IfNotPresent
9-
# -- Overrides the image tag whose default is the chart appVersion
10-
tag: ""
119

1210
# -- Secrets for image pull (if using private registry)
1311
imagePullSecrets: []

0 commit comments

Comments
 (0)