Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Each release includes:
- The image `ghcr.io/boxingoctopuscreative/squirrelbot`, tagged with the version and with `latest`.
- The Helm chart, attached to the GitHub release and published to `oci://ghcr.io/boxingoctopuscreative/charts/squirrelbot`. Each release also carries an `index.yaml`, so Helm can add the release archive as a chart repository.

The chart pulls `ghcr.io/boxingoctopuscreative/squirrelbot`. `make image` builds the local name `squirrelbot`. Set `image.repository=squirrelbot` to use that image. Install the published chart with the same `--set` values as the local chart, and set `--version` to the release you want.
The chart pulls `ghcr.io/boxingoctopuscreative/squirrelbot` tagged with the chart app version. `make image` builds the local name `squirrelbot`. Set `image.repository=squirrelbot` and `image.tag` to use that image. Install the published chart with the same `--set` values as the local chart, and set `--version` to the release you want.

```sh
helm repo add squirrelbot https://github.com/BoxingOctopusCreative/SquirrelBot/releases/latest/download
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/squirrelbot/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{{- define "squirrelbot.image" -}}
{{- $image := .Values.image | default dict }}
{{- $repository := $image.repository | default "ghcr.io/boxingoctopuscreative/squirrelbot" }}
{{- $tag := $image.tag | default "latest" }}
{{- $tag := $image.tag | default .Chart.AppVersion | default "latest" }}
{{- printf "%s:%s" $repository $tag }}
{{- end }}

Expand Down
Loading