fix image tag generation

This commit is contained in:
Robert Schäfer 2024-10-29 21:56:36 +01:00
parent 2ecbf8e7e2
commit 9ae9020b23
3 changed files with 2 additions and 9 deletions

View File

@ -1,7 +1,6 @@
{{ $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) }}
{{ $image_tag := env "IMAGE_TAG" | default (exec "../scripts/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) }}
image_tag: {{ $image_tag }}
github_repository: ocelot-social-community/stage.ocelot.social

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
SCRIPT_PATH=$(realpath $0)
SCRIPT_DIR=$(dirname $SCRIPT_PATH)
set -a; . ${SCRIPT_DIR}/../../.env; set +a;
echo $OCELOT_VERSION