wir.social/helmfile/environments/default.yaml.gotmpl
Robert Schäfer 78e7f7b3b7 feat: use checked in OCELOT_VERSION
`workflow_dispatch` only works on the default branch which is inconvenient for development
2024-10-28 14:19:53 +01:00

7 lines
415 B
Go Template

{{ $branded_image_tag:= env "BRANDED_IMAGE_TAG" | default (exec "../scripts/branded_image_tag.sh" (list) | trim) }}
{{ $ocelot_image_tag := env "OCELOT_IMAGE_TAG" | default (exec "../scripts/ocelot_image_tag.sh" (list) | trim) }}
domain: staging.ocelot-social.roschaefer.de
namespace: ocelot-staging
image_tag: {{ env "IMAGE_TAG" | default (printf "ocelot-%s--branded-%s" $ocelot_image_tag $branded_image_tag) }}