yogastic/environment/dev/docker/strapi/scripts/build.docker.env.sh
2025-01-06 22:13:54 +01:00

10 lines
237 B
Bash
Executable File

#!/usr/bin/env bash
CURRENT_DIR=$(dirname "$0")
VERSION_FILE="${CURRENT_DIR}/version.txt"
echo "Reading version file: ${VERSION_FILE}"
export VERSION=$(cat "${VERSION_FILE}")
export TAG=docker.rschneider.hu/infra/yoga-strapi:$VERSION