Skip to content

Commit

Permalink
Update _helpers.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
acdh-ch authored Dec 11, 2024
1 parent 1668200 commit 212dba8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/auto-deploy-app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
{{- end -}}

{{- define "imagename" -}}
{{- $tag := .Values.image.tag | default "latest" -}}
{{- printf "%s:%s" .Values.image.repository (quote $tag) -}}
{{- if eq .Values.image.tag "" -}}
{{- .Values.image.repository -}}
{{- else -}}
{{- printf "%s:%s" .Values.image.repository .Values.image.tag -}}
{{- end -}}
{{- end -}}

{{- define "trackableappname" -}}
Expand Down

0 comments on commit 212dba8

Please sign in to comment.