Skip to content

Commit 7d936a8

Browse files
Michael McNeesclaude
authored andcommitted
fix(release): publish v-prefixed GHCR image tags and align Helm appVersion
Closes #136 goreleaser was publishing ghcr.io/dvflw/mantle:0.4.0 (bare version) but not the v-prefixed form that Kubernetes manifests and Helm charts conventionally reference. Add a dedicated v{{ .Version }} manifest alongside the existing bare-version manifest so both resolve. Helm chart: default image.tag to the chart's appVersion (formatted as v<version>) when the value is left empty, so chart upgrades automatically track the correct image. Update Chart.yaml appVersion from 0.1.0 → 0.4.0 to match the current engine release. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1bd8cbf commit 7d936a8

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

packages/engine/.goreleaser.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ dockers_v2:
6868
- "--platform=linux/arm64"
6969

7070
docker_manifests:
71+
# v-prefixed tag (e.g. v0.4.0) — the canonical form users and Helm charts reference.
72+
- name_template: "ghcr.io/dvflw/mantle:v{{ .Version }}"
73+
image_templates:
74+
- "ghcr.io/dvflw/mantle:{{ .Version }}-amd64"
75+
- "ghcr.io/dvflw/mantle:{{ .Version }}-arm64"
76+
# Bare version without v prefix (e.g. 0.4.0) for tooling that strips it.
7177
- name_template: "ghcr.io/dvflw/mantle:{{ .Version }}"
7278
image_templates:
7379
- "ghcr.io/dvflw/mantle:{{ .Version }}-amd64"

packages/helm-chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: mantle
33
description: Headless AI workflow automation platform
44
type: application
55
version: 0.1.0
6-
appVersion: "0.1.0"
6+
appVersion: "0.4.0"

packages/helm-chart/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
terminationGracePeriodSeconds: 40
3939
containers:
4040
- name: mantle
41-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
41+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
4242
imagePullPolicy: {{ .Values.image.pullPolicy }}
4343
{{- with .Values.securityContext }}
4444
securityContext:

packages/helm-chart/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ replicaCount: 1
22

33
image:
44
repository: ghcr.io/dvflw/mantle
5-
tag: latest
5+
# tag defaults to the chart's appVersion (e.g. v0.4.0) when left empty.
6+
# Override to pin a specific release: --set image.tag=v0.5.0
7+
tag: ""
68
pullPolicy: IfNotPresent
79

810
database:

0 commit comments

Comments
 (0)